gecko-dev/suite/browser/hiddenWindow.xul
1999-07-20 14:40:55 +00:00

609 lines
35 KiB
XML

<?xml version="1.0"?>
<!-- The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s): ______________________________________. -->
<!-- hiddenwindow is a "minimal" XUL window intended for creating the,
er, hidden window. This window is never shown, but on platforms
which leave the app running after the last (visible) window is shut
down, this window does hold a browser menubar.
Though this window looks a lot like navigator.xul, that xul
is unsuitable because it's subject to the whims of its associated
appcore, which among other things causes it to load content documents
undesirable for this window.
Arguably a simpler menu structure could be substituted, but
the full one was included for now in anticipation of the whole thing
becoming an included file someday. -->
<!-- First, a bunch of string definitions lifted from navigator.xul,
just for the menus. What are the odds they'll stay in synch?
Hoping for the day when included files work. The one new string
in here is the first, the hidden window's title. -->
<!DOCTYPE window
[
<!ENTITY hiddenWindow.title "hidden">
<!ENTITY mainWindow.titlemodifier "Mozilla">
<!ENTITY mainWindow.titlemodifierseparator " - ">
<!ENTITY throbber.url "http://www.mozilla.org">
<!ENTITY fileMenu.label "File">
<!ENTITY browserCmd.label "New Browser Window">
<!ENTITY newMenu.label "New">
<!ENTITY newMailCmd.label "Mail Message">
<!ENTITY newBlankPageCmd.label "Blank Window">
<!ENTITY newPageFromTemplateCmd.label "Page Using Template">
<!ENTITY newPageFromDraftCmd.label "Page using Draft">
<!ENTITY openCmd.label "Open File or Location...">
<!ENTITY sendPageCmd.label "Send Page">
<!ENTITY editPageCmd.label "Edit Page">
<!ENTITY offlineMenu.label "Offline">
<!ENTITY offlineGoOfflineCmd.label "Go Offline">
<!ENTITY offlineSynchronizeCmd.label "Synchronize">
<!ENTITY printSetupCmd.label "Print Setup...">
<!ENTITY printPreviewCmd.label "Print Preview">
<!ENTITY printCmd.label "Print...">
<!ENTITY closeCmd.label "Close">
<!ENTITY quitCmd.label "Quit">
<!ENTITY editMenu.label "Edit">
<!ENTITY undoCmd.label "Undo">
<!ENTITY redoCmd.label "Redo">
<!ENTITY cutCmd.label "Cut">
<!ENTITY copyCmd.label "Copy">
<!ENTITY pasteCmd.label "Paste">
<!ENTITY deleteCmd.label "Delete">
<!ENTITY walletMenu.label "Wallet">
<!ENTITY walletSafeFillCmd.label "Safe Form Fill">
<!ENTITY walletQuickFillCmd.label "Quick Form Fill">
<!ENTITY walletContentsCmd.label "Wallet Contents">
<!ENTITY walletDisplaySignonsCmd.label "Display Signons">
<!ENTITY walletDisplayCookiesCmd.label "Display Cookies">
<!ENTITY walletSamplesCmd.label "Samples">
<!ENTITY walletChangePasswordCmd.label "Change Password">
<!ENTITY selectAllCmd.label "Select All">
<!ENTITY preferences.label "Preferences...">
<!ENTITY viewMenu.label "View">
<!ENTITY toolbarsCmd.label "Toolbars">
<!ENTITY sidebarCmd.label "Sidebar">
<!ENTITY enlargeTextSizeCmd.label "Enlarge Text Size">
<!ENTITY reduceTextSizeCmd.label "Reduce Text Size">
<!ENTITY useStyleSheetMenu.label "Use Stylesheet">
<!ENTITY useStyleSheetDefaultCmd.label "Default">
<!ENTITY useStyleSheetEasyReadingCmd.label "Easy Reading">
<!ENTITY useStyleSheetMaxInfoCmd.label "Maximum Information">
<!ENTITY useStlyleSheetBizarreCmd.label "Bizarre">
<!ENTITY reloadCmd.label "Reload">
<!ENTITY showImagesCmd.label "Show Images">
<!ENTITY stopCmd.label "Stop">
<!ENTITY pageSourceCmd.label "Page Source">
<!ENTITY pageInfoCmd.label "Page Info">
<!ENTITY translateMenu.label "Translate">
<!ENTITY translateButton.label "Translate">
<!ENTITY translateEngtoFrenCmd.label "English to French">
<!ENTITY translateEngtoGermCmd.label "English to German">
<!ENTITY translateEngtoItalianCmd.label "English to Italian">
<!ENTITY translateEngtoJapaneseCmd.label "English to Japanese">
<!ENTITY translateEngtoPortCmd.label "English to Portugese">
<!ENTITY translateEngtoSpanCmd.label "English to Spanish">
<!ENTITY translateFrentoEngCmd.label "French to English">
<!ENTITY translateFrentoGermCmd.label "French to German">
<!ENTITY translateFrentoSpanCmd.label "French to Spanish">
<!ENTITY translateGermtoEngCmd.label "German to English">
<!ENTITY translateGermtoFrenCmd.label "German to French">
<!ENTITY translateGermtoSpanCmd.label "German to Spanish">
<!ENTITY translateItaliantoEngCmd.label "Italian to English">
<!ENTITY tanslateJapanesetoEngCmd.label "Japanese to English">
<!ENTITY translatePorttoEngCmd.label "Portugese to English">
<!ENTITY tanslateSpantoEngCmd.label "Spanish to English">
<!ENTITY translateSpantoFrenCmd.label "Spanish to French">
<!ENTITY translateSpantoGermCmd.label "Spanish to German">
<!ENTITY dcharMenu.label "Character Set">
<!ENTITY dcharIso1Cmd.label "ISO Latin 1 (ISO-8859-1)">
<!ENTITY dcharIso2Cmd.label "ISO Latin 2 (ISO-8859-2)">
<!ENTITY dcharIso3Cmd.label "ISO Latin 3 (ISO-8859-3)">
<!ENTITY dcharIso4Cmd.label "ISO Latin 4 (ISO-8859-4)">
<!ENTITY dcharIso9Cmd.label "ISO Latin 5 (ISO-8859-9)">
<!ENTITY dcharIso10Cmd.label "ISO Latin 6 (ISO-8859-10)">
<!ENTITY dcharIso13Cmd.label "ISO Latin 7 (ISO-8859-13)">
<!ENTITY dcharIso14Cmd.label "ISO Latin 8 (ISO-8859-14)">
<!ENTITY dcharIso15Cmd.label "ISO Latin 9 (ISO-8859-15)">
<!ENTITY dcharWinLat2Cmd.label "Windows Latin 2 (windows-1250)">
<!ENTITY dcharWinLat1Cmd.label "Windows Latin 1 (windows-1252)">
<!ENTITY dcharWinLat5Cmd.label "Windows Latin 5 (windows-1254)">
<!ENTITY dcharWinBalRimCmd.label "Windows Baltic (windows-1257)">
<!ENTITY dcharMacRomCmd.label "Macintosh Roman">
<!ENTITY dcharMacCenEuroCmd.label "Macintosh Central European">
<!ENTITY dcharMacTurCmd.label "Macintosh Turkish">
<!ENTITY dcharMacCroaCmd.label "Macintosh Croatian">
<!ENTITY dcharMacRomanianCmd.label "Macintosh Romanian">
<!ENTITY dcharMacIceCmd.label "Macintosh Icelandic">
<!ENTITY dcharJapanCmd.label "Japanese JIS (ISO-2022-JP)">
<!ENTITY dcharJapanShiftjsCmd.label "Japanese (Shift_JIS)">
<!ENTITY dcharJapanEucCmd.label "Japanese (EUC-JP)">
<!ENTITY dcharTradChiBigCmd.label "Traditional Chinese (Big5)">
<!ENTITY dcharTriChiEucCmd.label "Traditional Chinese (EUC-TW)">
<!ENTITY dcharSimpChiGbCmd.label "Simplified Chinese (GB2312)">
<!ENTITY dcharKoreanCmd.label "Korean (EUC-KR)">
<!ENTITY dcharUtf7Cmd.label "Multilingual (UTF-7)">
<!ENTITY dcharUtf8Cmd.label "Multilingual (UTF-8)">
<!ENTITY dcharIsoCyrCmd.label "ISO Cyrillic (ISO-8859-5)">
<!ENTITY dcharEcmaCyrCmd.label "ECMA Cyrillic (ISO-IR-111)">
<!ENTITY dcharDosCyrCmd.label "DOS Cyrillic (IBM866)">
<!ENTITY dcharWinCyrCmd.label "Windows Cyrillic (windows-1251)">
<!ENTITY dcharMacCyrCmd.label "Macintosh Cyrillic">
<!ENTITY dcharMacUkrCmd.label "Macintosh Ukrainian">
<!ENTITY dcharRusCmd.label "Russian (KOI8-R)">
<!ENTITY dcharUkrCmd.label "Ukrainian (KOI8-U)">
<!ENTITY dcharIsoGreekCmd.label "ISO Greek (ISO-8859-7)">
<!ENTITY dcharWinGreekCmd.label "Windows Greek (windows-1253)">
<!ENTITY dcharMacGreekCmd.label "Macintosh Greek">
<!ENTITY dcharWinVietCmd.label "Windows Vietnamese (windows-1258)">
<!ENTITY dcharVietTcnCmd.label "Vietnamese (TCVN5712)">
<!ENTITY dcharVietViCmd.label "Vietnamese (VISCII)">
<!ENTITY dcharVieVpCmd.label "Vietnamese (VPS)">
<!ENTITY dcharThaiCmd.label "Thai (TIS-620)">
<!ENTITY dcharArmCmd.label "Armenian (ARMSCII-8)">
<!ENTITY dcharIso6Cmd.label ".ISO Arabic (ISO-8859-6)">
<!ENTITY dcharIso8Cmd.label ".ISO Hebrew (ISO-8859-8)">
<!ENTITY dcharCp1255Cmd.label "Windows Hebrew (windows-1255)">
<!ENTITY dcharCp1256Cmd.label "Windows Arabic (windows-1256)">
<!ENTITY searchMenu.label "Search">
<!ENTITY findOnCmd.label "Find On this page...">
<!ENTITY findAgainCmd.label "Find Again">
<!ENTITY searchParentCmd.label "Search Parent Item...">
<!ENTITY searchParenet2Cmd.label "Search Parent2 Item">
<!ENTITY appSpecificCmd.label "App Specific">
<!ENTITY searchInternetCmd.label "Search the Internet...">
<!ENTITY searchAllMailCmd.label "Search All Mail....">
<!ENTITY searchBookmarksCmd.label "Search Bookmarks...">
<!ENTITY searchPeopleCmd.label "Search People...">
<!ENTITY searchComputerCmd.label "Search on this Computer...">
<!ENTITY goMenu.label "Go">
<!ENTITY goBackCmd.label "Back">
<!ENTITY goForwardCmd.label "Forward">
<!ENTITY goHomeCmd.label "Home">
<!ENTITY goPrev1Cmd.label "Previous Site 1">
<!ENTITY goPrev2Cmd.label "Previous Site 2">
<!ENTITY goPrevnCmd.label "Previous Site n">
<!ENTITY bookmarksMenu.label "Bookmarks">
<!ENTITY addCurPageCmd.label "Add Current Page">
<!ENTITY manBookmarksCmd.label "Manage Bookmarks...">
<!ENTITY tasksMenu.label "Tasks">
<!ENTITY navigatorCmd.label "Navigator">
<!ENTITY messengerCmd.label "Messenger">
<!ENTITY editorCmd.label "Editor">
<!ENTITY textEditorCmd.label "Plaintext Editor">
<!ENTITY manageHistoryCmd.label "Manage History">
<!ENTITY toolsMenu.label "Tools">
<!ENTITY toolsPluginsInfoCmd.label "Plugins Info">
<!ENTITY toolsJavaConsoleCmd.label "Java/JS Console">
<!ENTITY toolsServerToolsCmd.label "Server Tools">
<!ENTITY toolsJsDebuggerCmd.label "JavaScipt Debugger">
<!ENTITY securityInfo.label "Security Info">
<!ENTITY helpMenuCmd.label "Help">
<!ENTITY helpContentsCmd.label "Help Contents">
<!ENTITY howTutorialCmd.label "How to Tutorial">
<!ENTITY helpChannelCmd.label "Help Channel">
<!ENTITY softwareUpdatesCmd.label "Software Updates">
<!ENTITY technicalSupportCmd.label "Technical Support">
<!ENTITY releaseNotesCmd.label "Release Notes">
<!ENTITY aboutCommunicatorCmd.label "About Communicator Prototype">
<!ENTITY debugMenu.label "Debug">
<!ENTITY debugQA.label "QA Help">
<!ENTITY debugQABug.label "QA Help">
<!ENTITY debugQASmoke.label "Smoke Tests">
<!ENTITY debugQAKnowBug.label "Known Bugs">
<!ENTITY debugVerCmd.label "Verification">
<!ENTITY ver1Cmd.label "Mozilla">
<!ENTITY ver2Cmd.label "Yahoo">
<!ENTITY ver3Cmd.label "Netscape">
<!ENTITY ver4Cmd.label "Excite">
<!ENTITY ver5Cmd.label "Microsoft">
<!ENTITY ver6Cmd.label "city.net">
<!ENTITY ver7Cmd.label "Mirabilis">
<!ENTITY ver8Cmd.label "Pathfinder">
<!ENTITY ver9Cmd.label "Warner Bros.">
<!ENTITY ver10Cmd.label "CNN">
<!ENTITY ver11Cmd.label "USA Today">
<!ENTITY ver12Cmd.label "Disney">
<!ENTITY ver13Cmd.label "Hotwired">
<!ENTITY ver14Cmd.label "Hotbot">
<!ENTITY ver15Cmd.label "Frames">
<!ENTITY ver16Cmd.label "Tables">
<!ENTITY ver17Cmd.label "Applets">
<!ENTITY ver18Cmd.label "JavaScript">
<!ENTITY ver19Cmd.label "GIF Images">
<!ENTITY ver20Cmd.label "JPEG Images">
<!ENTITY ver21Cmd.label "PNG Images">
<!ENTITY ver22Cmd.label "Transparency">
<!ENTITY ver23Cmd.label "Animation">
<!ENTITY ver24Cmd.label "Larger page">
<!ENTITY ver25Cmd.label "Smaller page">
<!ENTITY viewDemoMenu.label "Viewer Demos">
<!ENTITY demo0Cmd.label "#0 Basic Styles">
<!ENTITY demo1Cmd.label "#1 CSS Styles">
<!ENTITY demo2Cmd.label "#2 Images">
<!ENTITY demo3Cmd.label "#3 Basic Tables">
<!ENTITY demo4Cmd.label "#4 Simple Tables">
<!ENTITY demo5Cmd.label "#5 More Styles">
<!ENTITY demo6Cmd.label "#6 Deeply Nested Tables">
<!ENTITY demo7Cmd.label "#7 Scaled Anim Image">
<!ENTITY demo8Cmd.label "#8 Form">
<!ENTITY demo9Cmd.label "#9 Frames">
<!ENTITY demo10Cmd.label "#10 Anim Images">
<!ENTITY demo11Cmd.label "#11 Fixed Positioning">
<!ENTITY demo12Cmd.label "#12 More Fixed Pos">
<!ENTITY demo13Cmd.label "#13 DHTML">
<!ENTITY demo14Cmd.label "#14 XML Sorting">
<!ENTITY demo15Cmd.label "#15 XML IRS">
<!ENTITY demo16Cmd.label "#16 Gfx Widgets">
<!ENTITY xptkMenu.label "XPToolkit">
<!ENTITY xptk1Cmd.label "Tri-state checkbox">
<!ENTITY xptk2Cmd.label "Toolbar">
<!ENTITY xptk3Cmd.label "Tree">
<!ENTITY xptk4Cmd.label "Dialog">
<!ENTITY xptk5Cmd.label "Dialog w/ animation">
<!ENTITY xptk6Cmd.label "Tab">
<!ENTITY xptk7Cmd.label "Beep">
<!ENTITY QA.label "QA">
<!ENTITY QABugCmd.label "Bug Writing">
<!ENTITY QATempCmd.label "Bug Template">
<!ENTITY QASmokeCmd.label "Smoke Tests">
<!ENTITY QAKnownBugCmd.label "Known Bugs">
]>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
title="&hiddenWindow.title;"
titlemodifier="&mainWindow.titlemodifier;"
titleseparator="&mainWindow.titlemodifierseparator;">
<!-- JS from navigator.xul, to handle the menu commands -->
<html:script language="javascript" src="navigator.js"/>
<!-- it's the whole navigator.xul menubar! hidden windows need to
have a menubar for situations where they're the only window remaining
on a platform that wants to leave the app running, like the Mac.
This really really wants to be an included file, but for now,
it's every bit a copy. -->
<menubar chromeclass="menubar">
<menu name="&fileMenu.label;">
<menuitem name="&browserCmd.label;" onclick="BrowserNewWindow();"/>
<menu name="New">
<menuitem name="&newMailCmd.label;" onclick="MsgNewMessage();"/>
<separator />
<menuitem name="&newBlankPageCmd.label;" onclick="BrowserNewEditorWindow();"/>
<menuitem name="&newPageFromTemplateCmd.label;" onclick="BrowserNewWindow();"/>
<menuitem name="&newPageFromDraftCmd.label;" onclick="BrowserNewWindow();"/>
</menu>
<menuitem name="&openCmd.label;" onclick="BrowserOpenWindow();"/>
<separator />
<menuitem name="&sendPageCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&editPageCmd.label;" onclick="BrowserEditPage(window.content.location.href);" />
<separator />
<menu name="&offlineMenu.label;">
<menuitem name="&offlineGoOfflineCmd.label;" onclick="BrowserReload();"/>
<separator />
<menuitem name="&offlineSynchronizeCmd.label;" onclick="BrowserReload();"/>
</menu>
<separator />
<menuitem name="&printSetupCmd.label;" onclick=";"/>
<menuitem name="&printPreviewCmd.label;" onclick=""/>
<menuitem name="&printCmd.label;" onclick="BrowserPrint()"/>
<separator />
<menuitem name="&closeCmd.label;" onclick="BrowserClose();"/>
<menuitem name="&quitCmd.label;" onclick="BrowserExit();"/>
</menu>
<menu name="&editMenu.label;">
<menuitem name="&undoCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&redoCmd.label;" onclick="BrowserReload();"/>
<separator />
<menuitem name="&cutCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&copyCmd.label;" onclick="BrowserCopy();"/>
<menuitem name="&pasteCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&deleteCmd.label;" onclick="BrowserReload();"/>
<separator />
<menu name="&walletMenu.label;">
<menuitem name="&walletSafeFillCmd.label;" onclick="WalletSafeFillin();"/>
<menuitem name="&walletQuickFillCmd.label;" onclick="WalletQuickFillin();"/>
<separator />
<menuitem name="&walletContentsCmd.label;" onclick="WalletEditor();"/>
<menuitem name="&walletDisplaySignonsCmd.label;" onclick="SignonViewer();"/>
<menuitem name="&walletDisplayCookiesCmd.label;" onclick="CookieViewer();"/>
<separator />
<menuitem name="&walletSamplesCmd.label;" onclick="WalletSamples();"/>
<menuitem name="&walletChangePasswordCmd.label;" onclick="WalletChangePassword();"/>
</menu>
<separator />
<menuitem name="&selectAllCmd.label;" onclick="BrowserReload();"/>
<separator />
<menuitem name="&preferences.label;" onclick="DoPreferences();"/>
</menu>
<menu name="&viewMenu.label;">
<menuitem name="&toolbarsCmd.label;" onclick="toolbar.visible=true"/>
<menuitem name="&sidebarCmd.label;" onclick="BrowserReload();"/>
<separator />
<menuitem name="&enlargeTextSizeCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&reduceTextSizeCmd.label;" onclick="BrowserReload();"/>
<separator />
<menu name="&useStyleSheetMenu.label;" onclick="BrowserReload();">
<menuitem name="&useStyleSheetDefaultCmd.label;" onclick="BrowserReload();"/>
<separator />
<menuitem name="&useStyleSheetEasyReadingCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&useStyleSheetMaxInfoCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&useStlyleSheetBizarreCmd.label;" onclick="BrowserReload();"/>
</menu>
<separator />
<menuitem name="&reloadCmd.label;" id="menuitem-reload" onclick="BrowserReallyReload(0);"/>
<menuitem name="&showImagesCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&stopCmd.label;" id="menuitem-stop" onclick="BrowserStop();"/>
<separator />
<menuitem name="&pageSourceCmd.label;" onclick="BrowserViewSource();"/>
<menuitem name="&pageInfoCmd.label;" onclick="BrowserReload();"/>
<separator />
<menu name="&translateMenu.label;">
<menuitem name="&translateEngtoFrenCmd.label;" onclick="Translate('en', 'fr', 'SSI');"/>
<menuitem name="&translateEngtoGermCmd.label;" onclick="Translate('en', 'de', 'SSI');"/>
<menuitem name="&translateEngtoItalianCmd.label;" onclick="Translate('en', 'it', 'SSI');"/>
<menuitem name="&translateEngtoJapaneseCmd.label;" onclick="Translate('en', 'ja', 'Neocortech');"/>
<menuitem name="&translateEngtoPortCmd.label;" onclick="Translate('en', 'po', 'SSI');"/>
<menuitem name="&translateEngtoSpanCmd.label;" onclick="Translate('en', 'es', 'SSI');"/>
<separator />
<menuitem name="&translateFrentoEngCmd.label; " onclick="Translate('fr', 'en', 'SSI');"/>
<menuitem name="&translateFrentoGermCmd.label;" onclick="Translate('fr', 'de', 'SSI');"/>
<menuitem name="&translateFrentoSpanCmd.label;" onclick="Translate('fr', 'es', 'SSI');"/>
<separator />
<menuitem name="&translateGermtoEngCmd.label;" onclick="Translate('de', 'en', 'SSI');"/>
<menuitem name="&translateGermtoFrenCmd.label;" onclick="Translate('de', 'fr', 'SSI');"/>
<menuitem name="&translateGermtoSpanCmd.label;" onclick="Translate('de', 'es', 'SSI');"/>
<separator />
<menuitem name="&translateItaliantoEngCmd.label;" onclick="Translate('it', 'en', 'SSI');"/>
<separator />
<menuitem name="&tanslateJapanesetoEngCmd.label;" onclick="Translate('ja', 'en', 'SSI');"/>
<separator />
<menuitem name="&translatePorttoEngCmd.label;" onclick="Translate('po', 'en', 'SSI');"/>
<separator />
<menuitem name="&tanslateSpantoEngCmd.label;" onclick="Translate('es', 'en', 'SSI');"/>
<menuitem name="&translateSpantoFrenCmd.label;" onclick="Translate('es', 'fr', 'SSI');"/>
<menuitem name="&translateSpantoGermCmd.label;" onclick="Translate('es', 'de', 'SSI');"/>
</menu>
<menu name="&dcharMenu.label;">
<menuitem name="&dcharIso1Cmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-1');"/>
<menuitem name="&dcharIso2Cmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-2');"/>
<menuitem name="&dcharIso3Cmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-3');"/>
<menuitem name="&dcharIso4Cmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-4');"/>
<menuitem name="&dcharIso9Cmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-9');"/>
<menuitem name="&dcharIso10Cmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-10');"/>
<menuitem name="&dcharIso13Cmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-13');"/>
<menuitem name="&dcharIso14Cmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-14');"/>
<menuitem name="&dcharIso15Cmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-15');"/>
<menuitem name="&dcharWinLat2Cmd.label;" onclick="BrowserSetDefaultCharacterSet('windows-1250');"/>
<menuitem name="&dcharWinLat1Cmd.label;" onclick="BrowserSetDefaultCharacterSet('windows-1252');"/>
<menuitem name="&dcharWinLat5Cmd.label;" onclick="BrowserSetDefaultCharacterSet('windows-1254');"/>
<menuitem name="&dcharWinBalRimCmd.label;" onclick="BrowserSetDefaultCharacterSet('windows-1257');"/>
<menuitem name="&dcharMacRomCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-mac-roman');"/>
<menuitem name="&dcharMacCenEuroCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-mac-ce');"/>
<menuitem name="&dcharMacTurCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-mac-turkish');"/>
<menuitem name="&dcharMacCroaCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-mac-croatian');"/>
<menuitem name="&dcharMacRomanianCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-mac-romanian');"/>
<menuitem name="&dcharMacIceCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-mac-icelandic');"/>
<separator />
<menuitem name="&dcharJapanCmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-2022-JP');"/>
<menuitem name="&dcharJapanShiftjsCmd.label;" onclick="BrowserSetDefaultCharacterSet('Shift_JIS');"/>
<menuitem name="&dcharJapanEucCmd.label;" onclick="BrowserSetDefaultCharacterSet('EUC-JP');"/>
<separator />
<menuitem name="&dcharTradChiBigCmd.label;" onclick="BrowserSetDefaultCharacterSet('Big5');"/>
<menuitem name="&dcharTriChiEucCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-euc-tw');"/>
<menuitem name="&dcharSimpChiGbCmd.label;" onclick="BrowserSetDefaultCharacterSet('GB2312');"/>
<separator />
<menuitem name="&dcharKoreanCmd.label;" onclick="BrowserSetDefaultCharacterSet('EUC-KR');"/>
<separator />
<menuitem name="&dcharUtf7Cmd.label;" onclick="BrowserSetDefaultCharacterSet('UTF-7');"/>
<menuitem name="&dcharUtf8Cmd.label;" onclick="BrowserSetDefaultCharacterSet('UTF-8');"/>
<separator />
<menuitem name="&dcharIsoCyrCmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-5');"/>
<menuitem name="&dcharEcmaCyrCmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-IR-111');"/>
<menuitem name="&dcharWinCyrCmd.label;" onclick="BrowserSetDefaultCharacterSet('windows-1251');"/>
<menuitem name="&dcharDosCyrCmd.label;" onclick="BrowserSetDefaultCharacterSet('IBM866');"/>
<menuitem name="&dcharMacCyrCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-mac-cyrillic');"/>
<menuitem name="&dcharMacUkrCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-mac-ukrainian');"/>
<menuitem name="&dcharRusCmd.label; " onclick="BrowserSetDefaultCharacterSet('KOI8-R');"/>
<menuitem name="&dcharUkrCmd.label;" onclick="BrowserSetDefaultCharacterSet('KOI8-U');"/>
<separator />
<menuitem name="&dcharIsoGreekCmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-7');"/>
<menuitem name="&dcharWinGreekCmd.label;" onclick="BrowserSetDefaultCharacterSet('windows-1253');"/>
<menuitem name="&dcharMacGreekCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-mac-greek');"/>
<separator />
<menuitem name="&dcharWinVietCmd.label;" onclick="BrowserSetDefaultCharacterSet('windows-1258');"/>
<menuitem name="&dcharVietTcnCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-viet-tcvn5712');"/>
<menuitem name="&dcharVietViCmd.label;" onclick="BrowserSetDefaultCharacterSet('VISCII');"/>
<menuitem name="&dcharVieVpCmd.label;" onclick="BrowserSetDefaultCharacterSet('x-viet-vps');"/>
<separator />
<menuitem name="&dcharThaiCmd.label;" onclick="BrowserSetDefaultCharacterSet('TIS-620');"/>
<separator />
<menuitem name="&dcharArmCmd.label;" onclick="BrowserSetDefaultCharacterSet('ARMSCII-8');"/>
<separator />
<menuitem name="&dcharIso6Cmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-6');"/>
<menuitem name="&dcharCp1256Cmd.label;" onclick="BrowserSetDefaultCharacterSet('windows-1256');"/>
<separator />
<menuitem name="&dcharIso8Cmd.label;" onclick="BrowserSetDefaultCharacterSet('ISO-8859-8');"/>
<menuitem name="&dcharCp1255Cmd.label;" onclick="BrowserSetDefaultCharacterSet('windows-1255');"/>
</menu>
</menu>
<menu name="&searchMenu.label;">
<menuitem name="&findOnCmd.label;" onclick="BrowserFind();"/>
<menuitem name="&findAgainCmd.label;" onclick="BrowserFindAgain();"/>
<separator />
<menuitem name="&searchParentCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&searchParenet2Cmd.label;" onclick="BrowserReload();"/>
<menuitem name="&appSpecificCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&appSpecificCmd.label;" onclick="BrowserReload();"/>
<separator />
<menuitem name="&searchInternetCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&searchAllMailCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&searchBookmarksCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&searchPeopleCmd.label;" onclick="BrowserReload();"/>
<separator />
<menuitem name="&searchComputerCmd.label;" onclick="BrowserReload();"/>
</menu>
<menu name="&goMenu.label;">
<menuitem id="menuitem-back" name="&goBackCmd.label;" onclick="BrowserBack();"/>
<menuitem id="menuitem-forward" name="&goForwardCmd.label;" onclick="BrowserForward();" />
<menuitem name="&goHomeCmd.label;" onclick="BrowserHome();"/>
<separator />
<menuitem name="&goPrev1Cmd.label;" onclick="BrowserBack();"/>
<menuitem name="&goPrev2Cmd.label;" onclick="BrowserBack();"/>
<menuitem name="&goPrevnCmd.label;" onclick="BrowserBack();"/>
</menu>
<menu name="&bookmarksMenu.label;" onclick="OpenBookmarkURL(event.target)"
datasources="rdf:bookmarks rdf:files rdf:find" id="NC:BookmarksRoot">
<template>
<rule iscontainer="true">
<menu uri="..." name="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule>
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<separator uri="..." />
</rule>
<rule>
<menuitem uri="..." name="rdf:http://home.netscape.com/NC-rdf#Name" onclick="OpenBookmarkURL(event.target)" />
</rule>
</template>
<menuitem name="&addCurPageCmd.label;" onclick="BrowserAddBookmark(window.content.location.href,window.content.document.title);"/>
<menuitem name="&manBookmarksCmd.label;" onclick="BrowserEditBookmarks();"/>
<separator/>
</menu>
<menu name="&tasksMenu.label;" onclick="ShowWindowFromResource(event.target)" datasources="rdf:window-mediator" id="NC:WindowMediatorRoot" open="true" >
<menuitem name="&navigatorCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&messengerCmd.label;" onclick="OpenMessenger();" />
<menuitem name="&editorCmd.label;" onclick="OpenEditor();" />
<menuitem name="&textEditorCmd.label;" onclick="BrowserNewTextEditorWindow();" />
<menuitem name="&manageHistoryCmd.label;" onclick="OpenHistoryView();" />
<separator />
<menu name="&toolsMenu.label;">
<menuitem name="&toolsPluginsInfoCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&toolsJavaConsoleCmd.label;" onclick="BrowserReload();" />
<menuitem name="&toolsServerToolsCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&toolsJsDebuggerCmd.label;" onclick="BrowserReload();"/>
</menu>
<separator />
<menuitem name="&securityInfo.label;" onclick="BrowserReload();"/>
<separator/>
</menu>
<menu name="&helpMenuCmd.label;">
<menuitem name="&helpContentsCmd.label;" onclick="window.content.location.href = 'http://www.mozilla.org/projects/user-docs/local/browserhelp/browsertop.html'"/>
<separator />
<menuitem name="&howTutorialCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&helpChannelCmd.label;" onclick="BrowserReload();" />
<separator />
<menuitem name="&softwareUpdatesCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&technicalSupportCmd.label;" onclick="BrowserReload();"/>
<menuitem name="&releaseNotesCmd.label;"
onclick="window.content.location.href='http://www.mozilla.org/projects/seamonkey/release-notes/index.html'"/>
<separator />
<menuitem name="&aboutCommunicatorCmd.label;"
onclick="window.content.location.href='http://www.mozilla.org/projects/seamonkey/release-notes/index.html'"/>
</menu>
// Menu for testing.
<menu name="&debugMenu.label;">
<menu name="&debugVerCmd.label;"> // Build verification sites.
<menuitem name="&ver1Cmd.label;" onclick="window.content.location.href='http://www.mozilla.org'"/>
<menuitem name="&ver2Cmd.label;" onclick="window.content.location.href='http://www.yahoo.com'"/>
<menuitem name="&ver3Cmd.label;" onclick="window.content.location.href='http://www.netscape.com'"/>
<menuitem name="&ver4Cmd.label;" onclick="window.content.location.href='http://www.excite.com'"/>
<menuitem name="&ver5Cmd.label;" onclick="window.content.location.href='http://www.microsoft.com'"/>
<menuitem name="&ver6Cmd.label;" onclick="window.content.location.href='http://www.city.net'"/>
<menuitem name="&ver7Cmd.label;" onclick="window.content.location.href='http://www.mirabilis.com'"/>
<menuitem name="&ver8Cmd.label;" onclick="window.content.location.href='http://www.pathfinder.com/welcome'"/>
<menuitem name="&ver9Cmd.label;" onclick="window.content.location.href='http://www.warnerbros.com/home_moz3_day.html'"/>
<menuitem name="&ver10Cmd.label;" onclick="window.content.location.href='http://www.cnn.com'"/>
<menuitem name="&ver11Cmd.label;" onclick="window.content.location.href='http://www.usatoday.com'"/>
<menuitem name="&ver12Cmd.label;" onclick="window.content.location.href='http://www.disney.go.com'"/>
<menuitem name="&ver13Cmd.label;" onclick="window.content.location.href='http://www.hotwired.com'"/>
<menuitem name="&ver14Cmd.label;" onclick="window.content.location.href='http://www.hotbot.com'"/>
<separator />
<menuitem name="&ver15Cmd.label;" onclick="window.content.location.href='http://slip/projects/marvin/bft/browser/bft_frame_index.html'"/>
<menuitem name="&ver16Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test6.html'"/>
<menuitem name="&ver17Cmd.label;" onclick="window.content.location.href='http://slip/projects/marvin/bft/browser/bft_browser_applet.htm'"/>
<menuitem name="&ver18Cmd.label;" onclick="window.content.location.href='http://www.abcnews.com'"/>
<menuitem name="&ver19Cmd.label;" onclick="window.content.location.href='http://slip/projects/marvin/bft/browser/bft_browser_imagemap.html'"/>
<menuitem name="&ver20Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test2.html'"/>
<menuitem name="&ver21Cmd.label;" onclick="window.content.location.href='http://www.cdrom.com/pub/png/png-MagnoliaAlpha.html'"/>
<menuitem name="&ver22Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test13.html'"/>
<menuitem name="&ver23Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test2.html'"/>
<menuitem name="&ver24Cmd.label;" onclick="window.content.location.href='http://slip/projects/marvin/bft/browser/bft_browser_html_mix3.html'"/>
<menuitem name="&ver25Cmd.label;" onclick="window.content.location.href='http://slip/projects/marvin/bft/browser/bft_browser_link.html'"/>
</menu>
<menu name="&viewDemoMenu.label;"> // Viewer tests.
<menuitem name="&demo0Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test0.html'"/>
<menuitem name="&demo1Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test1.html'"/>
<menuitem name="&demo2Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test2.html'"/>
<menuitem name="&demo3Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test3.html'"/>
<menuitem name="&demo4Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test4.html'"/>
<menuitem name="&demo5Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test5.html'"/>
<menuitem name="&demo6Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test6.html'"/>
<menuitem name="&demo7Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test7.html'"/>
<menuitem name="&demo8Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test8.html'"/>
<menuitem name="&demo9Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test9.html'"/>
<menuitem name="&demo10Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test10.html'"/>
<menuitem name="&demo11Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test11.html'"/>
<menuitem name="&demo12Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test12.html'"/>
<menuitem name="&demo13Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test13.html'"/>
<menuitem name="&demo14Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test14.html'"/>
<menuitem name="&demo15Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test15.html'"/>
<menuitem name="&demo16Cmd.label;" onclick="window.content.location.href='resource:/res/samples/test16.html'"/>
</menu>
<menu name="&xptkMenu.label;"> // XPToolkit tests.
<menuitem name="&xptk1Cmd.label;" onclick="window.content.location.href='resource:/res/samples/checkboxTest.xul'"/>
<menuitem name="&xptk2Cmd.label;" onclick="window.content.location.href='resource:/res/samples/toolbarTest1.xul'"/>
<menuitem name="&xptk3Cmd.label;" onclick="window.content.location.href='resource:/res/samples/treeTest1.xul'"/>
<menuitem name="&xptk4Cmd.label;" onclick="window.content.location.href='resource:/res/samples/dexsimplemaster.xul'"/>
<menuitem name="&xptk5Cmd.label;" onclick="window.content.location.href='resource:/res/samples/dexanimmaster.xul'"/>
<menuitem name="&xptk6Cmd.label;" onclick="window.content.location.href='resource:/res/samples/tab.xul'"/>
<menuitem name="&xptk7Cmd.label;" onclick="window.content.location.href='resource:/res/samples/beeptest.html'"/>
</menu>
</menu>
<menu name="&QA.label;"> // QA tests.
<menuitem name="&QABugCmd.label;" onclick="window.content.location.href='http://www.mozilla.org/quality/bug-writing-guidelines.html'"/>
<menuitem name="&QATempCmd.label;" onclick="window.content.location.href='http://www.mozilla.org/quality/bug-template.html'"/>
<menuitem name="&QASmokeCmd.label;" onclick="window.content.location.href='http://www.mozilla.org/quality/smoketests/'"/>
<menuitem name="&QAKnownBugCmd.label;" onclick="window.content.location.href='http://www.mozilla.org/quality/most-frequent-bugs/'"/>
</menu>
</menubar>
</window>