home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 December
/
PCWorld_2005-12_cd.bin
/
komunikace
/
netscape
/
nsb-install-8-0.exe
/
chrome
/
browser.jar
/
content
/
browser
/
browser.xul
< prev
next >
Wrap
Extensible Markup Language
|
2005-09-26
|
75KB
|
1,341 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/sidebar/sidebar.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/webmail.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/webmail.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/smartbox/smartbox.css" type="text/css"?>
<?xml-stylesheet href="chrome://global/skin/findBar.css" type="text/css"?>
<!--<?xul-overlay href="chrome://help/content/helpMenuOverlay.xul"?>-->
<?xul-overlay href="chrome://browser/content/titlebarOverlay.xul"?>
<?xul-overlay href="chrome://browser/content/spuiOverlay.xul"?>
<?xul-overlay href="chrome://browser/content/sitecontrols/sitecontrolsOverlay.xul"?>
<?xul-overlay href="chrome://browser/content/sidebar/sidebarOverlay.xul"?>
<?xul-overlay href="chrome://browser/content/statusbarOverlay.xul"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" >
%browserDTD;
<!ENTITY % globalRegionDTD SYSTEM "chrome://global-region/locale/region.dtd">
%globalRegionDTD;
<!ENTITY % charsetDTD SYSTEM "chrome://global/locale/charsetOverlay.dtd" >
%charsetDTD;
<!ENTITY % findDTD SYSTEM "chrome://global/locale/finddialog.dtd" >
%findDTD;
<!ENTITY % multibarDTD SYSTEM "chrome://global/locale/multibar.dtd" >
%multibarDTD;
<!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd" >
%tabBrowserDTD;
]>
<!-- onload="Startup()" -->
<window id="main-window"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="Startup()" onunload="Shutdown()" onclose="return WindowIsClosing();"
onfocus="SetPopupBlockToggle(); SetHistoryButton(); moveMenubar();"
contenttitlesetting="true"
title="&mainWindow.title;"
titlemodifier="&mainWindow.title;"
titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
windowtype="navigator:browser"
screenX="4" screenY="4"
persist="screenX screenY width height sizemode">
<script type="application/x-javascript">
dump ("Starting loading of script files\n");
</script>
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/x-javascript" src="chrome://global/content/findUtils.js"/>
<script type="application/x-javascript" src="chrome://global/content/findBar.js"/>
<script type="application/x-javascript" src="chrome://global/content/printUtils.js"/>
<script type="application/x-javascript" src="chrome://browser/content/utilityOverlay.js"/>
<script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarks.js"/>
<script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarksMenu.js"/>
<script type="application/x-javascript" src="chrome://browser/content/sitecontrols/sitecontrols.js"/>
<script type="application/x-javascript" src="chrome://browser/content/sitecontrols/blacklistUtils.js"/>
<script type="application/x-javascript" src="chrome://browser/content/perfmon/pref_hash.js"/>
<script type="application/x-javascript" src="chrome://browser/content/perfmon/dt_hash.js"/>
<script type="application/x-javascript" src="chrome://browser/content/perfmon/perfmon.js"/>
<script type="application/x-javascript" src="chrome://browser/content/passcardUtils.js"/>
<script type="application/x-javascript" src="chrome://global/content/viewZoomOverlay.js"/>
<script type="application/x-javascript" src="chrome://browser/content/contentAreaUtils.js"/>
<script type="application/x-javascript" src="chrome://browser/content/browser.js"/>
<script type="application/x-javascript" src="chrome://browser/content/homeButton.js"/>
<script type="application/x-javascript">
dump ("Loading script file for pref-privacy-utils.js\n");
</script>
<script type="application/x-javascript" src="chrome://browser/content/pref/pref-privacy-utils.js"/>
<script type="application/x-javascript">
dump ("Loading script file for XPCNativeWrapper.js\n");
</script>
<script type="application/x-javascript" src="chrome://global/content/XPCNativeWrapper.js"/>
<script type="application/x-javascript">
dump ("Loading script file for webmail.js\n");
</script>
<script type="application/x-javascript" src="chrome://browser/content/webmail.js"/>
<script type="application/x-javascript">
dump ("Loading script file for search.js\n");
</script>
<script type="application/x-javascript" src="chrome://browser/content/search.js"/>
<script type="application/x-javascript">
dump ("Loading script file for countryList.js\n");
</script>
<script type="application/x-javascript" src="chrome://mozapps/content/autofill/countryList.js"/>
<script type="application/x-javascript">
dump ("Loading script file for datacardUtils.js\n");
</script>
<script type="application/x-javascript" src="chrome://mozapps/content/autofill/datacardUtils.js"/>
<script type="application/x-javascript">
dump ("Finished loading datacardUtils.js\n");
</script>
<stringbundleset id="stringbundleset">
<stringbundle id="bundle_brand" src="chrome://global/locale/brand.properties"/>
<stringbundle id="bundle_shell" src="chrome://browser/locale/shellservice.properties"/>
<stringbundle id="bundle_browser" src="chrome://browser/locale/browser.properties"/>
<stringbundle id="bundle_findBar" src="chrome://browser/locale/browser.properties"/>
<stringbundle id="bundle_browser_region" src="chrome://browser-region/locale/region.properties"/>
<stringbundle id="privacyBundle" src="chrome://browser/locale/pref/prefutilities.properties"/>
<stringbundle id="drawOsBorder" src="chrome://browser/skin/window-shaping.properties"/>
</stringbundleset>
<commandset commandupdater="true"
events="focus"
oncommandupdate="goUpdateGlobalEditMenuItems()"/>
<commandset commandupdater="true"
events="select"
oncommandupdate="goUpdateSelectEditMenuItems()"/>
<commandset commandupdater="true"
events="undo"
oncommandupdate="goUpdateUndoEditMenuItems()"/>
<commandset commandupdater="true"
events="clipboard"
oncommandupdate="goUpdatePasteMenuItems()"/>
<commandset id="mainCommandSet">
<command id="cmd_newNavigatorAlways" oncommand="TrackData(this);OpenBrowserWindow()"/>
<command id="cmd_newNavigator" oncommand="TrackData(this);OpenBrowserWindowWithPref();"/>
<command id="cmd_bm_open" oncommand="TrackData(this);goDoCommand('cmd_bm_open');"/>
<command id="cmd_bm_openinnewwindow" oncommand="TrackData(this);goDoCommand('cmd_bm_openinnewwindow');"/>
<command id="cmd_bm_openinnewtab" oncommand="TrackData(this);goDoCommand('cmd_bm_openinnewtab');"/>
<command id="cmd_bm_expandfolder" oncommand="TrackData(this);goDoCommand('cmd_bm_expandfolder');"/>
<command id="cmd_bm_openfolder" oncommand="TrackData(this);goDoCommand('cmd_bm_openfolder');"/>
<command id="cmd_bm_managefolder" oncommand="TrackData(this);goDoCommand('cmd_bm_managefolder');"/>
<command id="cmd_bm_newfolder" oncommand="TrackData(this);goDoCommand('cmd_bm_newfolder');"/>
<command id="cmd_bm_newbookmark" oncommand="TrackData(this);goDoCommand('cmd_bm_newbookmark');"/>
<command id="cmd_bm_newseparator" oncommand="TrackData(this);goDoCommand('cmd_bm_newseparator');"/>
<command id="cmd_bm_properties" oncommand="TrackData(this);goDoCommand('cmd_bm_properties');"/>
<command id="cmd_bm_refreshlivemark" oncommand="TrackData(this);goDoCommand('cmd_bm_refreshlivemark');"/>
<command id="cmd_bm_rename" oncommand="TrackData(this);goDoCommand('cmd_bm_rename');"/>
<command id="cmd_bm_moveBookmark" oncommand="TrackData(this);goDoCommand('cmd_bm_moveBookmark');"/>
<command id="cmd_bm_sortbyname" oncommand="TrackData(this);goDoCommand('cmd_bm_sortbyname');"/>
<command id="cmd_handleBackspace" oncommand="TrackData(this);BrowserHandleBackspace();" />
<command id="cmd_newNavigatorTab" oncommand="TrackData(this);BrowserOpenPrefTab();"/>
<command id="Browser:OpenFile" oncommand="TrackData(this);BrowserOpenFileWindow();"/>
<command id="Browser:SavePage" oncommand="TrackData(this);saveDocument(window._content.document);"/>
<command id="Browser:SendLink" oncommand="TrackData(this);MailIntegration.sendLinkForContent();"/>
<command id="Browser:NewMessage" oncommand="TrackData(this);MailIntegration.sendMessage('', '');"/>
<command id="Browser:ReadMail" oncommand="TrackData(this);MailIntegration.readMail();" label="&mailButton.readMail.label;"/>
<command id="Browser:ReadNews" oncommand="TrackData(this);MailIntegration.readNews();"/>
<command id="cmd_print" oncommand="TrackData(this);browserDoOLECmd(2);"/>
<command id="cmd_close" oncommand="TrackData(this);BrowserCloseTabOrWindow()"/>
<command id="cmd_closeWindow" oncommand="TrackData(this);BrowserClosedByCloseButton()"/>
<command id="cmd_quitApplication" oncommand="goQuitApplication()"/>
<command id="cmd_CustomizeToolbars" oncommand="TrackData(this);BrowserCustomizeToolbar()"/>
<command id="cmd_ToggleMenuBarPosition" oncommand="TrackData(this);toggleMenubar()"/>
<command id="cmd_copyLink"
oncommand="TrackData(this);goDoCommand('cmd_copyLink')"
disabled="false"/>
<command id="cmd_copyImageLocation"
oncommand="TrackData(this);goDoCommand('cmd_copyImageLocation')"
disabled="false"/>
<command id="cmd_copyImageContents"
oncommand="TrackData(this);goDoCommand('cmd_copyImageContents')"
disabled="false"/>
<command id="cmd_undo"
oncommand="TrackData(this);goDoCommand('cmd_undo')"
disabled="true"/>
<command id="cmd_redo"
oncommand="TrackData(this);goDoCommand('cmd_redo')"
disabled="true"/>
<command id="cmd_cut"
oncommand="TrackData(this);goDoCommand('cmd_cut')"
disabled="true"/>
<command id="cmd_copy"
oncommand="TrackData(this);goDoCommand('cmd_copy')"
disabled="true"/>
<command id="cmd_paste"
oncommand="TrackData(this);goDoCommand('cmd_paste')"
disabled="true"/>
<command id="cmd_delete"
oncommand="TrackData(this);goDoCommand('cmd_delete')"
valueDefault="&deleteCmd.label;"
disabled="true"/>
<command id="cmd_selectAll"
oncommand="TrackData(this);goDoCommand('cmd_selectAll')"
disabled="true"/>
<command id="cmd_SwitchTextDirection"
oncommand="TrackData(this);SwitchFocusedTextEntryDirection()"
disabled="true"/>
<command id="cmd_LaunchIM"
oncommand="cmdNewIM()"/>
<command id="cmd_openIMSidebar"
oncommand="cmdOpenIMSidebar()"/>
<command id="cmd_openSecurityCenter" oncommand="OpenSecurityCenter();" />
<command id="View:PageSource" oncommand="TrackData(this);BrowserViewSourceOfDocument(_content.document);"/>
<command id="View:PageInfo" oncommand="TrackData(this);BrowserPageInfo();"/>
<command id="View:FullScreen" oncommand="TrackData(this);BrowserFullScreen();"/>
<command id="cmd_find" oncommand="TrackData(this);findCommand();"/>
<command id="cmd_findAgain" oncommand="TrackData(this);findCommand(true);"/>
<command id="cmd_findPrevious" oncommand="TrackData(this);onFindPreviousCmd();"/>
<command id="Browser:AddBookmarkAs" oncommand="TrackData(this);addBookmarkAs(document.getElementById('content'));"/>
<!-- MERC - JCH: Needed for correct call from plugin -->
<command id="Browser:BookmarkPage" oncommand="bookmarkPage(document.getElementById('content'));"/>
<command id="Browser:BookmarkTabsFromMultibar" oncommand="bookmarkAllTabs(document.getElementById('content'), true);"/>
<command id="Browser:BookmarkTabs" oncommand="bookmarkAllTabs(document.getElementById('content'), false);"/>
<command id="Browser:BookmarkPageFromMultibar" oncommand="bookmarkPageFromMultibar(document.getElementById('content'));"/>
<command id="Browser:Home" oncommand="TrackData(this);BrowserHome();"/>
<command id="Browser:SetHomeToCurrentPage" oncommand="TrackData(this);homeButtonSetHomePageToCurrentPage();"/>
<command id="Browser:SetHomeToBookmark" oncommand="TrackData(this);homeButtonSetHomePageToBookmark();"/>
<command id="Browser:SetHomeToBlank" oncommand="TrackData(this);homeButtonSetHomePageToBlank();"/>
<command id="Browser:SetHomeCurrentTabs" oncommand="TrackData(this);homeButtonSetHomePageToCurrentTabs();"/>
<!-- MERC - Brad Lewis - the oncommand functions are found in privacy-utils.js -->
<command id="History:ClearPages" oncommand="PrivacyPanel.clearData['history'](false); SetHistoryButton();"/>
<command id="History:ClearDownloads" oncommand="PrivacyPanel.clearData['downloads'](false);"/>
<command id="History:ClearSearch" oncommand="search.ClearSearchHistory();"/>
<command id="History:ClearCookies" oncommand="PrivacyPanel.clearData['cookies'](false);"/>
<command id="History:ClearCache" oncommand="PrivacyPanel.clearData['cache'](false);"/>
<command id="History:ClearAll" oncommand="PrivacyPanel.clearAll(); SetHistoryButton(); search.ClearSearchHistory();"/>
<command id="History:Anonymous" oncommand="toggleAnonymousMode(); SetHistoryButton();"/> <!-- enableAnonymousMode(); SetHistoryButton(); -->
<!-- END MERC - Brad Lewis -->
<command id="Browser:Back" oncommand="TrackData(this);BrowserBack();" disabled="true"/>
<command id="Browser:Forward" oncommand="TrackData(this);BrowserForward();" disabled="true"/>
<command id="Browser:Stop" oncommand="TrackData(this);BrowserStop();" disabled="true"/>
<!-- SLiu : commented out added support for Trident text increase
<command id="cmd_textZoomReduce" oncommand="ZoomManager.prototype.getInstance().reduce();"/>
<command id="cmd_textZoomEnlarge" oncommand="ZoomManager.prototype.getInstance().enlarge();"/>
-->
<command id="cmd_textZoomReduce" oncommand="TrackData(this);browserDoOLECmd(4);"/>
<command id="cmd_textZoomEnlarge" oncommand="TrackData(this);browserDoOLECmd(5);"/>
<command id="cmd_textZoomReset" oncommand="TrackData(this);ZoomManager.prototype.getInstance().reset();"/>
<command id="Browser:OpenLocation" oncommand="TrackData(this);openLocation();"/>
<command id="Tools:Search" oncommand="TrackData(this);focusSearchBar();"/>
<command id="Tools:Downloads" oncommand="TrackData(this);toOpenWindowByType('Download:Manager',
'chrome://mozapps/content/downloads/downloads.xul',
'chrome,dialog=no,resizable');"/>
<command id="Tools:Extensions" oncommand="TrackData(this);BrowserOpenExtensions('extensions');"/>
<command id="Tools:Themes" oncommand="TrackData(this);BrowserOpenExtensions('themes');"/>
<command id="cmd_openHelp" oncommand="TrackData(this);openHelp();"/>
<command id="cmd_toggleEngine" oncommand="TrackData(this);gBrowser.mCurrentTab.toggleDisplayEngineSiteControl(); dump('** engine toggle\n');"/>
</commandset>
<broadcasterset id="mainBroadcasterSet">
<broadcaster id="viewBookmarksSidebar" autoCheck="false" label="&bookmarksButton.label;"
type="checkbox" group="sidebar" sidebarurl="chrome://browser/content/bookmarks/bookmarksPanel.xul"
oncommand="TrackData(this);toggleSidebar('viewBookmarksSidebar');"/>
<broadcaster id="viewHistorySidebar" autoCheck="false" label="&historyButton.label;"
type="checkbox" group="sidebar" sidebarurl="chrome://browser/content/history/history-panel.xul"
oncommand="TrackData(this);toggleSidebar('viewHistorySidebar');"/>
<broadcaster id="viewWebPanelsSidebar" autoCheck="false"
type="checkbox" group="sidebar" sidebarurl="chrome://browser/content/web-panels.xul"
oncommand="TrackData(this);toggleSidebar('viewWebPanelsSidebar');"/>
<broadcaster id="viewNSBookmarksSidebar" label="&bookmarksButton.label;" command="revealBookmarks"/>
<broadcaster id="viewNSHistorySidebar" label="&historyButton.label;" command="revealHistory"/>
<!-- popup blocking menu items -->
<broadcaster id="blockedPopupAllowSite"
accesskey="&allowPopups.accesskey;"
oncommand="TrackData(this);gPopupBlockerObserver.toggleAllowPopupsForSite(event);"/>
<broadcaster id="blockedPopupEditSettings"
label="&editPopupSettings.label;"
accesskey="&editPopupSettings.accesskey;"
oncommand="TrackData(this);gPopupBlockerObserver.editPopupSettings();"/>
<broadcaster id="blockedPopupDontShowMessage"
accesskey="&dontShowMessage.accesskey;"
type="checkbox"
oncommand="TrackData(this);gPopupBlockerObserver.dontShowMessage();"/>
<broadcaster id="blockedPopupsSeparator"/>
<!-- MERC (ccampbell): searchbar / search sidebar engine broadcaster -->
<broadcaster id="searchEngineBroadcaster"
searchengine="" src=""
persist="searchengine,src"/>
<!-- MERC (jmckenty): popup position for menu items -->
<broadcaster id="mainMenuPopupBroadcaster"/>
<broadcaster id="restoreButtonBroadcaster" tooltiptext="Maximize"/>
<!-- MERC (rpaul): broadcasts the current engine icon for display in status bar -->
<broadcaster id="currentEngineBroadcaster" src=""/>
<!-- MERC (rpaul): broadcasts if IE is the currently selected engine for menus-->
<broadcaster id="engineIsIEBroadcaster" disabled=""/>
<!-- MERC (rpaul): broadcasts if Firefox is the currently selected engine for menus-->
<broadcaster id="engineIsFirefoxBroadcaster" disabled=""/>
<!-- MERC (rpaul): broadcasts to the throbber the busy status-->
<broadcaster id="throbberBroadcaster" busy=""/>
</broadcasterset>
<keyset id="mainKeyset">
<key id="key_newNavigator"
key="&newNavigatorCmd.key;"
command="cmd_newNavigatorAlways"
modifiers="accel"/>
<key id="key_newNavigatorTab" key="&tabCmd.commandkey;" modifiers="accel" command="cmd_newNavigatorTab"/>
<key id="focusURLBar" key="&openCmd.commandkey;" command="Browser:OpenLocation"
modifiers="accel"/>
<key id="focusURLBar2" key="&urlbar.accesskey;" command="Browser:OpenLocation"
modifiers="alt"/>
<key id="key_search" key="&searchFocus.commandkey;" command="Tools:Search" modifiers="accel"/>
<key id="key_search2" key="&searchFocus.commandkey2;" command="Tools:Search" modifiers="accel"/>
<key id="key_openDownloads" key="&downloads.commandkey;" command="Tools:Downloads" modifiers="accel"/>
<key id="openFileKb" key="&openFileCmd.commandkey;" command="Browser:OpenFile" modifiers="accel"/>
<key id="key_savePage" key="&savePageCmd.commandkey;" command="Browser:SavePage" modifiers="accel"/>
<key id="printKb" key="&printCmd.commandkey;" command="cmd_print" modifiers="accel"/>
<key id="key_close" key="&closeCmd.key;" command="cmd_close" modifiers="accel"/>
<key id="key_closeWindow" key="&closeCmd.key;" command="cmd_closeWindow" modifiers="accel,shift"/>
<key id="key_quitApplication" key="&quitApplicationCmd.commandkey;" modifiers="accel" command="cmd_quitApplication"/>
<key id="key_undo"
key="&undoCmd.key;"
modifiers="accel"/>
<key id="key_redo" key="&redoCmd.key;" modifiers="accel"/>
<key id="key_cut"
key="&cutCmd.key;"
modifiers="accel"/>
<key id="key_copy"
key="©Cmd.key;"
modifiers="accel"/>
<key id="key_paste"
key="&pasteCmd.key;"
modifiers="accel"/>
<key id="key_delete" keycode="VK_DELETE" command="cmd_delete"/>
<key id="key_selectAll" key="&selectAllCmd.key;" modifiers="accel"/>
<key keycode="VK_BACK" command="cmd_handleBackspace"/>
<key keycode="VK_BACK" command="Browser:Forward" modifiers="shift"/>
<key id="goBackKb" keycode="VK_LEFT" command="Browser:Back" modifiers="alt"/>
<key id="goForwardKb" keycode="VK_RIGHT" command="Browser:Forward" modifiers="alt"/>
<key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
<key id="key_fullScreen" keycode="VK_F11" command="View:FullScreen"/>
<key id="key_help" keycode="VK_F1" command="cmd_openHelp"/>
<key keycode="VK_F5" oncommand="BrowserReload();"/>
<key keycode="VK_F5" modifiers="control" oncommand="BrowserReloadSkipCache();"/>
<key id="key_reload" key="&reloadCmd.commandkey;" oncommand="BrowserReload();" modifiers="accel"/>
<key key="&reloadCmd.commandkey;" oncommand="BrowserReloadSkipCache();" modifiers="accel,shift"/>
<key id="key_toggleEngine" key="e" modifiers="accel,shift" command="cmd_toggleEngine"/>
<key id="key_viewSource" key="&pageSourceCmd.commandkey;" command="View:PageSource" modifiers="accel"/>
<key id="key_find" key="&findOnCmd.commandkey;" command="cmd_find" modifiers="accel"/>
<key id="key_findAgain" key="&findAgainCmd.commandkey;" command="cmd_findAgain" modifiers="accel"/>
<key id="key_findPrevious" key="&findAgainCmd.commandkey;" command="cmd_findPrevious" modifiers="accel,shift"/>
<key keycode="&findAgainCmd.commandkey2;" command="cmd_findAgain"/>
<key keycode="&findAgainCmd.commandkey2;" command="cmd_findPrevious" modifiers="shift"/>
<key id="addBookmarkAsKb" key="&addCurPageAsCmd.commandkey;" command="Browser:AddBookmarkAs" modifiers="accel"/>
<!-- MERC: bookmarks keyboard shortcut is now handled by sidebar
<key id="viewBookmarksSidebarKb" key="&bookmarksSidebarCmd.commandkey;" command="viewBookmarksSidebar" modifiers="accel"/>
-->
<!-- MERC: CTRL+I is used for page info in Netscape 7.2. so turn this off
<key id="viewBookmarksSidebarWinKb" key="&bookmarksSidebarWinCmd.commandkey;" command="viewBookmarksSidebar" modifiers="accel"/>
-->
<key id="key_stop" keycode="VK_ESCAPE" oncommand="BrowserStop();"/>
<!-- MERC: history keyboard shortcut is now handled by sidebar
<key id="key_gotoHistory" key="&historySidebarCmd.commandKey;" command="viewHistorySidebar" modifiers="accel"/>
-->
<key id="key_newMessage"
key="&sendMessage.commandkey;"
command="Browser:NewMessage"
modifiers="accel"/>
<key id="key_textZoomReduce" key="&textZoomReduceCmd.commandkey;" command="cmd_textZoomReduce" modifiers="accel"/>
<key id="key_textZoomEnlarge" key="&textZoomEnlargeCmd.commandkey;" command="cmd_textZoomEnlarge" modifiers="accel"/>
<key key="&textZoomEnlargeCmd.commandkey2;" command="cmd_textZoomEnlarge" modifiers="accel"/>
<key id="key_textZoomReset" key="&textZoomResetCmd.commandkey;" command="cmd_textZoomReset" modifiers="accel"/>
<key id="key_SwitchTextDirection" key="&bidiSwitchTextDirectionItem.commandkey;" command="cmd_SwitchTextDirection" modifiers="accel,shift" />
<key id="key_viewToggleRenderingEngine" key="&viewToggleRenderingEngine.commandkey;" command="cmd_toggleEngine" modifiers="control,alt"/>
<key id="key_launchIM" key="&key_launchIM.commandkey;" modifiers="control,shift" command="cmd_LaunchIM"/>
<key id="key_openIMSidebar" key="&key_openIMSidebar.commandkey;" modifiers="control" command="cmd_openIMSidebar"/>
</keyset>
<popupset id="mainPopupSet">
<popup id="clearhistoriesPopUp" position="at_pointer">
<menuitem id="clearHistoryPages"
label="&clearHistoriesHistory.label;"
tooltiptext="&clearHistoriesHistory.tooltip;"
command="History:ClearPages"/>
<menuitem id="clearHistoryDownloadManager"
label="&clearHistoriesDownloads.label;"
tooltiptext="&clearHistoriesDownloads.tooltip;"
command="History:ClearDownloads"/>
<menuitem id="clearHistorySearch"
label="&clearHistoriesSearch.label;"
tooltiptext="&clearHistoriesSearch.tooltip;"
command="History:ClearSearch"/>
<menuitem id="clearHistoryCookies"
label="&clearHistoriesCookies.label;"
tooltiptext="&clearHistoriesCookies.tooltip;"
command="History:ClearCookies"/>
<menuitem id="clearHistoryCache"
label="&clearHistoriesCache.label;"
tooltiptext="&clearHistoriesCache.tooltip;"
command="History:ClearCache"/>
<menuitem id="clearHistoryAll"
label="&clearHistoriesAll.label;"
tooltiptext="&clearHistoriesAll.tooltip;"
command="History:ClearAll"/>
<menuitem id="clearHistoryAnonymousMode"
label="&clearHistoriesAnonymous.label;"
tooltiptext="&clearHistoriesAnonymous.tooltip;"
type="checkbox" autocheck="false"
command="History:Anonymous"/>
</popup>
<popup id="multibarMenu" oncommand="multibar.menuCommand(event);">
<menuseparator id="traySeparator"/>
<menuitem id="multibarAddMenuItem" label="&addTray.label;"/>
<menuitem id="multibarRenameMenuItem" label="&renameTray.label;"/>
<!--menuitem id="multibarEditMenuItem" label="&editTrays.label;"/-->
<!--menuitem id="multibarShowTrayTitleMenuItem" type="checkbox" label="Show Tray Title"/-->
<menuitem id="multibarCustomizeMenuItem" label="&customizeToolbars.label;"/>
</popup>
<popup id="backMenu"
position="after_start"
onpopupshowing="return BrowserBackMenu(event);"
oncommand="gotoHistoryIndex(event);"
onclick="checkForMiddleClick(this, event);"/>
<popup id="forwardMenu"
position="after_start"
onpopupshowing="return BrowserForwardMenu(event);"
oncommand="gotoHistoryIndex(event);"
onclick="checkForMiddleClick(this, event);"/>
<tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(document.tooltipNode);"/>
<popup id="SearchBarHistoryPopup" position="after_end"
onpopupshowing="search.PopulateHistoryPopup(event);"/>
<popup id="SmartboxPopup" position="after_start"/>
<popup type="autocomplete" id="PopupAutoComplete"/>
<popup id="toolbar-context-menu"
onpopupshowing="updateToolbarStates(this); onViewToolbarsPopupShowing(event);">
<menuseparator/>
<menuitem id="menuitem_toggleMenuBar"
command="cmd_ToggleMenuBarPosition"
label="&viewMoveMenubar.label;"
accesskey="&viewMoveMenubar.accesskey;"/>
<menuitem command="cmd_CustomizeToolbars"
label="&viewCustomizeToolbar.label;"
accesskey="&viewCustomizeToolbar.accesskey;"/>
</popup>
<popup id="blockedPopupOptions"
onpopupshowing="gPopupBlockerObserver.fillPopupList(event);">
<menuitem observes="blockedPopupAllowSite"/>
<menuitem observes="blockedPopupEditSettings"/>
<menuitem observes="blockedPopupDontShowMessage"/>
<menuseparator observes="blockedPopupsSeparator"/>
</popup>
<popup id="blockedRSSOptions" >
<menuitem oncommand="livemarkAddMark(window._content, getWebNavigation().currentURI.spec, true);" label="Subscribe to this feed..."/>
</popup>
<popup id="tabsNewButtonPopup"
position="after_start"
onpopupshown="document.getElementById('new-tab-button-container')
.setAttribute('popupIsVisible', 'true');"
onpopuphidden="document.getElementById('new-tab-button-container')
.removeAttribute('popupIsVisible');">
<menuitem label="&tabs-newbutton.home.label;"
accesskey="&tabs-newbutton.home.accesskey;"
oncommand="BrowserHome(true);"/>
<menuitem label="&tabs-newbutton.current.label;"
accesskey="&tabs-newbutton.current.accesskey;"
oncommand="BrowserOpenNewCurrentTab();"/>
<menuitem label="&tabs-newbutton.blank.label;"
accesskey="&tabs-newbutton.blank.accesskey;"
oncommand="BrowserOpenTab();"/>
<menuitem label="&tabs-newbutton.netscape.label;"
accesskey="&tabs-newbutton.netscape.accesskey;"
oncommand="BrowserNetscapeTab();"/>
<menuseparator/>
<menuitem label="&tabs-newbutton.options.label;"
accesskey="&tabs-newbutton.options.accesskey;"
oncommand="openPrefs(2);"/>
</popup>
<popup id="personalBookmarksAddBookmarkDropdown" position="after_start"
onpopupshown="document.getElementById('personal-bookmarks-add-bookmark-button').setAttribute('popupIsVisible', 'true');"
onpopuphidden="document.getElementById('personal-bookmarks-add-bookmark-button').removeAttribute('popupIsVisible');">
<menuitem label="&addBookmarkDropdown.bookmarkPage.label;" command="Browser:BookmarkPageFromMultibar"/>
<menuitem label="&addBookmarkDropdown.bookmarkGroup.label;" command="Browser:BookmarkTabsFromMultibar"/>
<menuitem label="&addBookmarkDropdown.manage.label;" oncommand="toOpenWindowByType('bookmarks:manager', 'chrome://browser/content/bookmarks/bookmarksManager.xul');"/>
</popup>
<popup id="contentAreaContextMenu"
onpopupshowing="if (event.target != this) return true; gContextMenu = new nsContextMenu( this ); return gContextMenu.shouldDisplay;"
onpopuphiding="if (event.target == this) gContextMenu = null;">
<menuitem id="context-openlinkintab"
label="&openLinkCmdInTab.label;"
accesskey="&openLinkCmdInTab.accesskey;"
oncommand="gContextMenu.openLinkInTab();"/>
<menuitem id="context-openlink"
label="&openLinkCmd.label;"
accesskey="&openLinkCmd.accesskey;"
oncommand="gContextMenu.openLink();"/>
<menuseparator id="context-sep-open"/>
<menuitem id="context-bookmarklink"
label="&bookmarkLinkCmd.label;"
accesskey="&bookmarkLinkCmd.accesskey;"
oncommand="BookmarksUtils.addBookmark(gContextMenu.linkURL(),
gContextMenu.linkText());"/>
<menuitem id="context-savelink"
label="&saveLinkCmd.label;"
accesskey="&saveLinkCmd.accesskey;"
oncommand="gContextMenu.saveLink();"/>
<menuitem id="context-sendlink"
label="&sendLinkCmd.label;"
accesskey="&sendLinkCmd.accesskey;"
oncommand="gContextMenu.sendLink();"/>
<menuitem id="context-copyemail"
label="©EmailCmd.label;"
accesskey="©EmailCmd.accesskey;"
oncommand="gContextMenu.copyEmail();"/>
<menuseparator id="context-sep-copylink"/>
<menuitem id="context-viewimage"
label="&viewImageCmd.label;"
accesskey="&viewImageCmd.accesskey;"
oncommand="gContextMenu.viewImage(event);"
onclick="checkForMiddleClick(this, event);"/>
<menuitem id="context-saveimage"
label="&saveImageCmd.label;"
accesskey="&saveImageCmd.accesskey;"
oncommand="gContextMenu.saveImage();"/>
<menuitem id="context-sendimage"
label="&sendImageCmd.label;"
accesskey="&sendImageCmd.accesskey;"
oncommand="gContextMenu.sendImage();"/>
<menuitem id="context-setWallpaper"
label="&setWallpaperCmd.label;"
accesskey="&setWallpaperCmd.accesskey;"
oncommand="gContextMenu.setWallpaper();"/>
<menuitem id="context-copyimage-contents"
label="©ImageContentsCmd.label;"
accesskey="©ImageContentsCmd.accesskey;"
command="cmd_copyImageContents"/>
<menuitem id="context-copyimage"
label="©ImageCmd.label;"
accesskey="©ImageCmd.accesskey;"
command="cmd_copyImageLocation"/>
<menuseparator id="context-sep-copyimage"/>
<!--XXXBlake XUL sucks! We need autocheck for menuitems. -->
<!-- MERC: ccampbell: commenting out because we need to change this
to use Site Controls instead
<menuitem id="context-blockimage" class="menuitem-iconic"
accesskey="&blockImageCmd.accesskey;"
oncommand="gContextMenu.toggleImageBlocking(this.getAttribute('checked') != 'true');"/>
-->
<menuitem id="context-back"
label="&backCmd.label;"
accesskey="&backCmd.accesskey;"
command="Browser:Back"/>
<menuitem id="context-forward"
label="&forwardCmd.label;"
accesskey="&forwardCmd.accesskey;"
command="Browser:Forward"/>
<menuitem id="context-reload"
label="&reloadCmd.label;"
accesskey="&reloadCmd.accesskey;"
oncommand="BrowserReload();"/>
<menuitem id="context-stop"
label="&stopCmd.label;"
accesskey="&stopCmd.accesskey;"
command="Browser:Stop"/>
<!-- MERC JA: BrowserReload() is called from toggleDisplayEngineSiteControl! -->
<menuitem id="switchToTrident"
label="&switchToTrident.label;"
key="key_toggleEngine"
accesskey="&switchToTrident.accesskey;"
oncommand="gBrowser.mCurrentTab.toggleDisplayEngineSiteControl();"/>
<menuseparator id="context-sep-stop"/>
<menuitem id="context-undo"
label="&undoCmd.label;"
accesskey="&undoCmd.accesskey;"
command="cmd_undo"/>
<menuseparator id="context-sep-undo"/>
<menuitem id="context-cut"
label="&cutCmd.label;"
accesskey="&cutCmd.accesskey;"
command="cmd_cut"/>
<menuitem id="context-copy"
label="©Cmd.label;"
accesskey="©Cmd.accesskey;"
command="cmd_copy"/>
<menuitem id="context-copylink"
label="©LinkCmd.label;"
accesskey="©LinkCmd.accesskey;"
command="cmd_copyLink"/>
<menuitem id="context-paste"
label="&pasteCmd.label;"
accesskey="&pasteCmd.accesskey;"
command="cmd_paste"/>
<menuitem id="context-delete"
label="&deleteCmd.label;"
accesskey="&deleteCmd.accesskey;"
command="cmd_delete"/>
<menuitem id="context-selectall"
label="&selectAllCmd.label;"
accesskey="&selectAllCmd.accesskey;"
command="cmd_selectAll"/>
<menuseparator id="context-sep-selectall"/>
<menuitem id="context-bookmarkpage"
label="&bookmarkPageCmd.label;"
accesskey="&bookmarkPageCmd.accesskey;"
oncommand="bookmarkPage(document.getElementById('content'));"/>
<menuitem id="context-savepage"
label="&savePageCmd.label;"
accesskey="&savePageCmd.accesskey;"
oncommand="saveDocument(window._content.document);"/>
<menuitem id="context-sendpage"
label="&sendPageCmd.label;"
accesskey="&sendPageCmd.accesskey;"
command="Browser:SendLink"/>
<!--
<menuitem key="context-addBookmarkAsTabGrp"
label="&addCurTabsAsCmd.label;"
accesskey="&addCurTabsAsCmd.accesskey;"
command="Browser:AddBookmarkAs"/>
<menuseparator id="context-sep-viewbgimage"/>
-->
<menuitem id="context-viewbgimage"
label="&viewBGImageCmd.label;"
accesskey="&viewBGImageCmd.accesskey;"
oncommand="gContextMenu.viewBGImage(event);"
onclick="checkForMiddleClick(this, event);"/>
<menuitem id="context-keywordfield"
label="&keywordfield.label;"
accesskey="&keywordfield.accesskey;"
oncommand="AddKeywordForSearchField();"/>
<menuitem id="context-searchselect"
accesskey="&search.accesskey;"
oncommand="OpenSearch('internet', gContextMenu.searchSelected(), true);"/>
<menuseparator id="frame-sep"/>
<menu id="frame" label="&thisFrameMenu.label;" accesskey="&thisFrameMenu.accesskey;">
<menupopup>
<menuitem label="&showOnlyThisFrameCmd.label;"
accesskey="&showOnlyThisFrameCmd.accesskey;"
oncommand="gContextMenu.showOnlyThisFrame();"/>
<menuitem label="&openFrameCmd.label;"
accesskey="&openFrameCmd.accesskey;"
oncommand="gContextMenu.openFrame();"/>
<menuitem label="&openFrameCmdInTab.label;"
accesskey="&openFrameCmdInTab.accesskey;"
oncommand="gContextMenu.openFrameInTab();"/>
<menuseparator/>
<menuitem label="&reloadFrameCmd.label;"
accesskey="&reloadFrameCmd.accesskey;"
oncommand="gContextMenu.reloadFrame();"/>
<menuseparator/>
<menuitem label="&bookmarkFrameCmd.label;"
accesskey="&bookmarkFrameCmd.accesskey;"
oncommand="gContextMenu.addBookmarkForFrame();"/>
<menuitem label="&saveFrameCmd.label;"
accesskey="&saveFrameCmd.accesskey;"
oncommand="saveDocument(gContextMenu.target.ownerDocument);"/>
<menuseparator/>
<menuitem label="&viewFrameSourceCmd.label;"
accesskey="&viewFrameSourceCmd.accesskey;"
oncommand="gContextMenu.viewFrameSource();"/>
<menuitem label="&viewFrameInfoCmd.label;"
accesskey="&viewFrameInfoCmd.accesskey;"
oncommand="gContextMenu.viewFrameInfo();"/>
</menupopup>
</menu>
<!-- MERC (DP): print menu items -->
<menuseparator id="context-sep-print"/>
<menuitem id="context-print"
label="Print"
accesskey="p"
command="cmd_print"/>
<!-- end -->
<menuseparator id="context-sep-properties"/>
<menuitem id="context-viewpartialsource-selection"
label="&viewPartialSourceForSelectionCmd.label;"
accesskey="&viewPartialSourceCmd.accesskey;"
oncommand="gContextMenu.viewPartialSource('selection');"/>
<menuitem id="context-viewpartialsource-mathml"
label="&viewPartialSourceForMathMLCmd.label;"
accesskey="&viewPartialSourceCmd.accesskey;"
oncommand="gContextMenu.viewPartialSource('mathml');"/>
<menuitem id="context-viewsource"
label="&viewPageSourceCmd.label;"
accesskey="&viewPageSourceCmd.accesskey;"
oncommand="BrowserViewSourceOfDocument(_content.document);"/>
<menuitem id="context-viewinfo"
label="&viewPageInfoCmd.label;"
accesskey="&viewPageInfoCmd.accesskey;"
oncommand="gContextMenu.viewInfo();"/>
<menuitem id="context-metadata"
label="&metadataCmd.label;"
accesskey="&metadataCmd.accesskey;"
oncommand="gContextMenu.showMetadata();"/>
<menuseparator hidden="true" id="context-sep-bidi"/>
<menuitem hidden="true" id="context-bidi-text-direction-toggle"
label="&bidiSwitchTextDirectionItem.label;"
accesskey="&bidiSwitchTextDirectionItem.accesskey;"
oncommand="SwitchTextEntryDirection(gContextMenu.target)"/>
<menuitem hidden="true" id="context-bidi-page-direction-toggle"
label="&bidiSwitchPageDirectionItem.label;"
accesskey="&bidiSwitchPageDirectionItem.accesskey;"
oncommand="SwitchDocumentDirection();"/>
</popup>
</popupset>
<!-- Total hack. Used by the Go menu to build up items. -->
<tree id="hiddenHistoryTree" hidden="true" collapsed="true" datasources="rdf:null"
flags="dont-build-content"
hidecolumnpicker="true">
<template>
<rule>
<treechildren>
<treeitem uri="rdf:*" rdf:type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
<treerow>
<treecell label="rdf:http://home.netscape.com/NC-rdf#Name"/>
<treecell label="rdf:http://home.netscape.com/NC-rdf#Date" hidden="true"/>
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
<treecols id="hiddenHistoryTreeCols">
<treecol flex="1" id="Name"
hideheader="true" primary="true"/>
<treecol id="Date" hidden="true" hideheader="true"
sort="rdf:http://home.netscape.com/NC-rdf#Date" sortActive="true" sortDirection="descending"/>
</treecols>
</tree>
<!-- bookmarks context menu -->
<popupset>
<menupopup id="bookmarks-context-menu"
onpopupshowing="return BookmarksMenu.createContextMenu(event);"
onpopuphidden ="BookmarksMenu.destroyContextMenu(event);"/>
</popupset>
<!-- bookmarks toolbar tooltip -->
<tooltip id="btTooltip" noautohide="true"
onpopupshowing="return BookmarksToolbar.fillInBTTooltip(document.tooltipNode)">
<vbox id="btTooltipTextBox" flex="1">
<label id="btTitleText" />
<label id="btUrlText" />
</vbox>
</tooltip>
<stack id="topstack">
<vbox id="topbox">
<toolbox id="navigator-toolbox" class="toolbox-top" mode="icons">
<toolbarpalette id="BrowserToolbarPalette">
<!-- Main navigation buttons -->
<toolbarbutton id="back-button" type="menu-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
chromedir="&locale.dir;"
label="&backCmd.label;"
oncommand="BrowserBack(event);"
onclick="checkForMiddleClick(this, event);"
context="backMenu"
tooltiptext="&backButton.tooltip;"
toolgroup="navigation">
<observes element="Browser:Back" attribute="disabled"/>
<menupopup context=""
onpopupshowing="BrowserBackMenu(event);"
oncommand="gotoHistoryIndex(event); event.preventBubble();"
onclick="checkForMiddleClick(this, event);"/>
</toolbarbutton>
<toolbarbutton id="forward-button" type="menu-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
chromedir="&locale.dir;"
label="&forwardCmd.label;"
oncommand="BrowserForward(event);"
onclick="checkForMiddleClick(this, event);"
context="forwardMenu"
tooltiptext="&forwardButton.tooltip;"
toolgroup="navigation">
<observes element="Browser:Forward" attribute="disabled"/>
<menupopup context=""
onpopupshowing="BrowserForwardMenu(event);"
oncommand="gotoHistoryIndex(event); event.preventBubble();"
onclick="checkForMiddleClick(this, event);"/>
</toolbarbutton>
<!-- TODO: i18n -->
<toolbarbutton id="stop-reload-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
label="Reload"
oncommand="BrowserStopReload(event);"
tooltiptext="Stop / Reload"
toolgroup="navigation"/>
<toolbarbutton id="home-button" type="menu-button" class="toolbarbutton-1"
tooltiptext="&homeButton.tooltip;"
label="&homeButton.label;"
ondragover="nsDragAndDrop.dragOver(event, homeButtonObserver);"
ondragdrop="nsDragAndDrop.drop(event, homeButtonObserver);"
ondragexit="nsDragAndDrop.dragExit(event, homeButtonObserver);"
oncommand="if (event.target==this) BrowserHome();"
toolgroup="navigation">
<menupopup position="at_pointer" onpopupshowing="BrowserHomeMenu(this);">
<!-- filled in dynamically by BrowserHomeMenu() -->
<menuseparator nodelete="true"/>
<!-- Set home page to current page -->
<menuitem label="&homeButtonCurrentPage.title;"
nodelete="true"
tooltiptext="&homeButtonCurrentPage.tooltip;"
command="Browser:SetHomeToCurrentPage"/>
<!-- set home page based on bookmark -->
<menuitem label="&homeButtonBookmarks.title;"
nodelete="true"
tooltiptext="&homeButtonBookmarks.tooltip;"
command="Browser:SetHomeToBookmark"/>
<!-- set home to blank -->
<menuitem label="&homeButtonBlankPage.title;"
nodelete="true"
tooltiptext="&homeButtonBlankPage.tooltip;"
command="Browser:SetHomeToBlank"/>
<!-- set home page to current tabs -->
<menuitem label="&homeButtonGroupTabs.title;"
nodelete="true"
tooltiptext="&homeButtonGroupTabs.tooltip;"
command="Browser:SetHomeCurrentTabs"/>
</menupopup>
</toolbarbutton>
<toolbarbutton id="combined-autofill-button" type="menu-button" class="toolbarbutton-1"
label="&combined.button.label;"
oncommand="if (event.target==this) DoCombinedAutofill();"
ondragover="nsDragAndDrop.dragOver(event, goButtonObserver);"
ondragdrop="nsDragAndDrop.drop(event, goButtonObserver);"
ondragexit="nsDragAndDrop.dragExit(event, goButtonObserver);"
tooltiptext="&combined.button.tooltip;"
toolgroup="functional">
<menupopup id="combinedFormFillPopup" position="at_pointer"
onpopupshowing="UpdateCombinedMenu(this);">
<menuitem id="combinedFillFormMenuItem"
label="&combined.fillform.label;"
tooltiptext="&combined.fillform.tooltip;"
oncommand="DoCombinedFill(this, false);"/>
<menuitem id="combinedFillAndSubmitMenuItem"
label="&combined.fillandsubmit.label;"
tooltiptext="&combined.fillandsubmit.tooltip;"
oncommand="DoCombinedFill(this, true);"/>
<menuitem id="combinedSaveMenuItem"
label="&combined.saveform.label;"
tooltiptext="&combined.saveform.tooltip;"
oncommand="DoCombinedSave();"/>
<menuitem id="combinedEditFormInfoMenuItem"
label="&combined.editforminfo.label;"
tooltiptext="&combined.editforminfo.tooltip;"
oncommand="openFormfillPrefs();"/>
<menuitem id="combinedEditLoginInfoMenuItem"
label="&combined.editlogininfo.label;"
tooltiptext="&combined.editlogininfo.tooltip;"
oncommand="openPasscardPrefs();"/>
<menuseparator id="combinedFormFillDatacardSep" hidden="true"/>
<menuseparator id="combinedFormFillPasscardSep" hidden="true"/>
</menupopup>
</toolbarbutton>
<toolbarbutton id="clearhistories-button" class="toolbarbutton-1"
oncommand="var chMenu = document.getElementById('clearhistoriesPopUp');
chMenu.showPopup(this,-1,-1,'popup','bottomleft','topleft');"
overflowcommand="var chMenu = document.getElementById('clearhistoriesPopUp');
var button = document.getElementById('clearhistories-button');
var chevron = document.getAnonymousElementByAttribute(button.parentNode, 'class', 'toolbar-overflow-button');
chMenu.showPopup(chevron,-1,-1,'popup','bottomleft','topleft');"
historyEmpty="false"
label="&clearHistories.label;"
tooltiptext="&clearHistories.tooltip;"
toolgroup="functional">
</toolbarbutton>
<toolbaritem label="Location Bar" id="urlbar-container" align="center" flex="1000"
title="&locationItem.title;" class="chromeclass-location"
toolgroup="navigation">
<textbox id="urlbar" flex="1"
type="autocomplete"
autocompletesearch="history"
autocompletepopup="PopupAutoComplete"
completeselectedindex="true"
tabscrolling="true"
showcommentcolumn="true"
enablehistory="true"
oninput="gBrowser.userTypedValue = this.value"
ontextentered="return handleURLBarCommand(param);"
ontextreverted="return handleURLBarRevert();"
onfocus="URLBarFocusHandler(event, this);"
onmousedown="URLBarMouseDownHandler(event, this);"
onclick="URLBarClickHandler(event, this);"
oninfoclick="displaySecurityInfo();">
<deck id="page-proxy-deck">
<image id="page-proxy-button"
ondraggesture="PageProxyDragGesture(event);"
tooltiptext="&proxyIcon.tooltip;"/>
<image id="page-proxy-favicon"
ondraggesture="PageProxyDragGesture(event);"
onload="this.parentNode.selectedIndex = 1;
event.stopPropagation();
event.preventBubble();
HandleBookmarkIcon(this.src, true);"
onerror="gBrowser.addToMissedIconCache(this.src);
HandleBookmarkIcon(this.src, false);
this.parentNode.selectedIndex = 0;"
tooltiptext="&proxyIcon.tooltip;"/>
</deck>
<statusbarpanel id="livemark-button" type="menu" class="statusbarpanel-menu-iconic" chromedir="&locale.dir;">
<menupopup onpopupshowing="return livemarkFillPopup(this);"
oncommand="livemarkAddMark(window._content, event.target.getAttribute('data'));" />
</statusbarpanel>
</textbox>
<toolbarbutton id="go-button"
tooltiptext="&goButton.tooltip;"
oncommand="handleURLBarCommand(event);"
ondragover="nsDragAndDrop.dragOver(event, goButtonObserver);"
ondragdrop="nsDragAndDrop.drop(event, goButtonObserver);"
ondragexit="nsDragAndDrop.dragExit(event, goButtonObserver);"/>
</toolbaritem>
<toolbaritem id="search-container" title="&searchItem.title;"
align="center" class="chromeclass-toolbar-additional"
toolgroup="personal">
<searchbar id="searchbar" observes="searchEngineBroadcaster" persist="style" style="width: 12em;"/>
<toolbarbutton id="search-button" class="nstoolbar-button"
tooltiptext="&search.button.tooltip;"
oncommand="document.getAnonymousElementByAttribute(document.getElementById('searchbar'), 'class', 'searchbar-textbox').onTextEntered();"/>
</toolbaritem>
<toolbarbutton id="popupblocker-button" type="menu-button" class="toolbarbutton-1"
label="&popupblocker.label;"
tooltiptext="&popupblocker-tooltiptext.label;"
oncommand="DoPBBAction(event, 'allowPopups');"
popupDetected="false"
showCount="false"
ondragover="nsDragAndDrop.dragOver(event, homeButtonObserver);"
ondragdrop="nsDragAndDrop.drop(event, homeButtonObserver);"
ondragexit="nsDragAndDrop.dragExit(event, homeButtonObserver);"
toolgroup="functional">
<menupopup id="popupblocker-menu">
<menuitem id="popupblocker-onoff" oncommand="DoPBBAction(event, 'allowPopups');"/>
<menuseparator/>
<menuitem id="popupblocker-showcount" label="&popupblocker-showcount.label;"
type="checkbox" oncommand="DoPBBAction(event, 'showBlockedCount');"
tooltiptext="&popupblocker-showcount-tooltiptext.label;"/>
<menuitem id="popupblocker-playsound" label="&popupblocker-playsound.label;"
type="checkbox" oncommand="DoPBBAction(event, 'playBlockedSound');"
tooltiptext="&popupblocker-playsound-tooltiptext.label;"/>
<menuseparator/>
<menuitem id="popupblocker-showlist" label="&popupblocker-showlist.label;"
oncommand="BlockerShowList(event);"
tooltiptext="&popupblocker-showlist-tooltiptext.label;"/>
<menuitem id="popupblocker-sitecontrol" label="&popupblocker-sitecontrol.label;"
oncommand="BlockerShowSCDialog(event);"
tooltiptext="&popupblocker-sitecontrol-tooltiptext.label;"/>
<menuitem id="popupblocker-resetcount" label="&popupblocker-resetcount.label;"
oncommand="ClearPopupCount(event);"
tooltiptext="&popupblocker-resetcount-tooltiptext.label;"/>
</menupopup>
</toolbarbutton>
<toolbarbutton id="print-button" type="menu-button" class="toolbarbutton-1"
label="&printButton.label;" oncommand="if (event.target==this) browserDoOLECmd(2);"
tooltiptext="&printButton.tooltip;"
ondragover="nsDragAndDrop.dragOver(event, homeButtonObserver);"
ondragdrop="nsDragAndDrop.drop(event, homeButtonObserver);"
ondragexit="nsDragAndDrop.dragExit(event, homeButtonObserver);"
toolgroup="functional">
<menupopup id="printMenu">
<menuitem id="printMenuItemToolbar" label="&printCmd.label;" accesskey="&printCmd.accesskey;"
default="true" command="cmd_print" tooltiptext="&printCmd.tooltip;"/>
<menuitem id="printPreviewMenuItemToolbar" label="&printPreviewCmd.label;"
accesskey="&printPreviewCmd.accesskey;"
oncommand="browserDoOLECmd(1);" tooltiptext="&printPreviewCmd.tooltip;"/>
</menupopup>
</toolbarbutton>
<toolbaritem id="personal-bookmarks" title="&bookmarksItem.title;" flex="1"
class="chromeclass-directories"
disableoverflow="true"
toolgroup="navigation">
<toolbarbutton id="personal-bookmarks-add-bookmark-button" tooltiptext="&addBookmark.tooltip;" label="&addBookmark.label;"
onclick="if (event.which > 1) return;
var addBookmarkButton = document.getElementById('personal-bookmarks-add-bookmark-button');
var addBookmarkPopup = document.getElementById('personalBookmarksAddBookmarkDropdown');
addBookmarkPopup.showPopup(addBookmarkButton, -1, -1, 'popup', 'bottomleft', 'topleft');"/>
<stack id="bookmarks-stack" flex="1" style="min-width:0px; width:0px;"
onpopupshowing="BookmarksToolbar.setOpenedMenu(event);"
onpopuphidden="BookmarksToolbar.unsetOpenedMenu(event);">
<!-- onclick="BookmarksMenu.loadBookmarkMiddleClick(event, this.database)" -->
<hbox id="bookmarks-ptf" class="bookmarks-toolbar-items" contextmenu="bookmarks-context-menu"
flex="1" style="min-width:0px; width:0px;margin-left: 3px;"
datasources="rdf:bookmarks rdf:files rdf:localsearch"
template="bookmarks-template" flags="dont-test-empty"
infer="forward-proxy"
rdf:type="http://home.netscape.com/NC-rdf#Folder"
onpopupshowing="BookmarksMenu.onShowMenu(event.target)"
onpopuphidden="BookmarksMenu.onHideMenu(event.target)"
oncommand="BookmarksMenu.onSelectBookmark(event, event.target, this.database)"
onclick="BookmarksMenu.loadBookmarkMiddleClick(event, this.database)"
ondraggesture="nsDragAndDrop.startDrag(event, BookmarksMenuDNDObserver)"
ondragdrop="nsDragAndDrop.drop(event, BookmarksMenuDNDObserver); event.preventBubble()"
ondragenter="nsDragAndDrop.dragEnter(event, BookmarksMenuDNDObserver); event.preventBubble()"
ondragexit="nsDragAndDrop.dragExit(event, BookmarksMenuDNDObserver); event.preventBubble()"
ondragover="nsDragAndDrop.dragOver(event, BookmarksMenuDNDObserver); event.preventBubble()">
</hbox>
<hbox class="bookmarks-toolbar-overflow-items" mousethrough="always">
<hbox mousethrough="always" id="overflow-padder"/>
<toolbarbutton id="bookmarks-chevron" type="menu" class="chevron"
chromedir="&locale.dir;"
mousethrough="never" collapsed="true"
datasources="rdf:bookmarks rdf:files rdf:localsearch"
template="bookmarks-template" flags="dont-test-empty"
onpopupshowing="BookmarksMenu.onShowMenu(event.target)"
onpopuphidden="BookmarksMenu.onHideMenu(event.target)"
oncommand="BookmarksMenu.onSelectBookmark(event, event.target, this.database)"
onclick="BookmarksMenu.loadBookmarkMiddleClick(event, this.database)"
ondraggesture="nsDragAndDrop.startDrag(event, BookmarksMenuDNDObserver)"
ondragdrop="nsDragAndDrop.drop(event, BookmarksMenuDNDObserver); event.preventBubble()"
ondragenter="nsDragAndDrop.dragEnter(event, BookmarksMenuDNDObserver); event.preventBubble()"
ondragexit="nsDragAndDrop.dragExit(event, BookmarksMenuDNDObserver); event.preventBubble()"
ondragover="nsDragAndDrop.dragOver(event, BookmarksMenuDNDObserver); event.preventBubble()">
<menupopup contextmenu="bookmarks-context-menu"
onpopupshowing="if (event.target == this) BookmarksToolbar.updateOverflowMenu(this);"/>
</toolbarbutton>
</hbox>
<toolbarbutton class="bookmark-item bookmarks-toolbar-customize" mousethrough="never"
label="&bookmarksToolbarItem.label;"/>
</stack>
<!--hbox id="bookmarks-appendedspace" flex="200"/-->
</toolbaritem>
<toolbarbutton id="downloads-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
type="menu-button"
observes="Tools:Downloads"
ondragdrop="nsDragAndDrop.drop(event, DownloadsButtonDNDObserver); event.preventBubble()"
ondragover="nsDragAndDrop.dragOver(event, DownloadsButtonDNDObserver); event.preventBubble()"
ondragenter="nsDragAndDrop.dragEnter(event, DownloadsButtonDNDObserver); event.preventBubble()"
ondragexit="nsDragAndDrop.dragExit(event, DownloadsButtonDNDObserver); event.preventBubble()"
label="&downloads.label;"
tooltiptext="&downloads.tooltip;"
toolgroup="functional">
<menupopup id="downloadsPopUp" position="at_pointer" onpopupshowing="updateDownloadsMenu(this);">
<menuitem id="clearDownloadsHistory"
label="&clearHistoriesDownloads.label;"
tooltiptext="&clearHistoriesDownloads.tooltip;"
command="History:ClearDownloads"/>
<menuitem id="downloadsOptions"
label="&downloadsOptions.label;"
tooltiptext="&downloadsOptions.tooltip;"
oncommand="openPrefs(4); event.preventBubble();"/>
</menupopup>
</toolbarbutton>
<toolbarbutton id="history-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
command="revealHistory" label="&historyButton.label;"
tooltiptext="&historyButton.tooltip;"/>
<toolbarbutton id="mail-button" type="menu" class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&mailButton.label;" orient="vertical" toolgroup="personal"
onmouseover="MailIntegration.updateUnreadCount();"
tooltiptext="&mailButton.tooltip;">
<menupopup tooltiptext="">
<menuitem accesskey="&mailButton.readMail.accesskey;"
command="Browser:ReadMail"/>
<menuitem label="&mailButton.newMessage.label;"
accesskey="&mailButton.newMessage.accesskey;"
command="Browser:NewMessage"/>
</menupopup>
</toolbarbutton>
<toolbarbutton id="bookmarks-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
observes="viewNSBookmarksSidebar"
tooltiptext="&bookmarksButton.tooltip;"
ondragover="nsDragAndDrop.dragOver(event, bookmarksButtonObserver);"
ondragdrop="nsDragAndDrop.drop(event, bookmarksButtonObserver);"
ondragexit="nsDragAndDrop.dragExit(event, bookmarksButtonObserver);"/>
<toolbarbutton id="cut-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&cutCmd.label;"
command="cmd_cut"
tooltiptext="&cutButton.tooltip;"
toolgroup="functional"/>
<toolbarbutton id="copy-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
label="©Cmd.label;"
command="cmd_copy"
tooltiptext="©Button.tooltip;"
toolgroup="functional"/>
<toolbarbutton id="paste-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&pasteCmd.label;"
command="cmd_paste"
tooltiptext="&pasteButton.tooltip;"
toolgroup="functional"/>
<!-- MERC (rpaul) adding security center toolbar button -->
<toolbaritem overflowcommand="OpenSecurityCenter();" toolgroup="functional" label="Security Center" id="securitycenter-item">
<image id="securityCenterText" />
<toolbarbutton tooltiptext="&security.tooltip;" toolgroup="functional"
class="toolbarbutton-1 chromeclass-toolbar-additional"
id="securitycenter-button" label="&security.label;"
command="cmd_openSecurityCenter" />
</toolbaritem>
<toolbarbutton observes="throbberBroadcaster" id="throbber-button" label="Navigator Throbber"
class="chromeclass-toolbar-additional" oncommand="goClickThrobber('browser.throbber.url', event);" />
<!-- TODO: internationalize -->
<toolbaritem toolgroup="personal" id="webmail-button" class="webmail-toolbaritem"
title="Webmail" label="Setup E-mail" overflowcommand="webmail.readDefault();"
onclick="if (event.which > 1) return;">
<stack>
<popupset>
<menupopup id="webmail-menu" position="at_pointer" label="E-Mail"
onpopupshowing="document.getElementById('webmail-button').setAttribute('clickDown', 'true');"
onpopuphidden="document.getElementById('webmail-button').removeAttribute('clickDown');">
<menuitem label="Read E-mail" src="chrome://browser/skin/icons/mail_sm.png"
class="menuitem-iconic" id="webmail-readmenuitem"
oncommand="this.parentNode.hidePopup();webmail.readDefault();"
tooltiptext="Check Netscape E-mail Account" />
<menuitem label="Write New E-Mail" disabled="true" id="webmail-writemenuitem"
oncommand="this.parentNode.hidePopup();webmail.writeDefault();"
tooltiptext="Create a new E-mail" />
<menuitem label="Address Book" id="webmail-addressmenuitem"
oncommand="this.parentNode.hidePopup();webmail.addressDefault();"
tooltiptext="Go to Webmail Addressbook" disabled="true" />
<menuseparator id="webmail-menu-mainsep" />
<menuitem label="Add Other E-Mail Account"
oncommand="this.parentNode.hidePopup();webmail.openManage('_new');"
tooltiptext="Add another E-Mail Account" />
<menuitem label="Manage E-Mail Accounts"
oncommand="this.parentNode.hidePopup();webmail.openManage(null);"
tooltiptext="Manage E-Mail Accounts" />
</menupopup>
</popupset>
<vbox class="webmail-content">
<spacer flex="1" style="min-width: 2px !important;"/>
<hbox>
<spacer style="width:4px !important"/>
<stack align="center" pack="center" id="webmail-button-container" style="width: 80px;">
<spacer style="height: 1px;"/>
<hbox align="center" pack="end" style="width: 80px;" id="webmailClickStyleTarget">
<image id="webmail-button-left-edge"/>
<spacer id="webmail-button-slice" flex="1"/>
<image id="webmail-button-right-edge"/>
</hbox>
<hbox style="width: 80px;" align="stretch">
<box flex="1" id="webmailPopupTarget" style="margin-top: 1px;"/>
</hbox>
<hbox id="webmail-buttons-container" align="center" pack="end">
<spacer flex="1" style="min-width: 6px;"/>
<toolbarbutton id="webmail-menu-image"
image="chrome://browser/skin/icons/mail_sm.png"
left="0" top="0" tooltiptext="Webmail"
oncommand="if (event.target==this) webmail.readDefault();"/>
<spacer flex="1"/>
<toolbarbutton tooltiptext="Webmail" id="webmail-toolbarbutton"
label="Setup E-mail" baselabel="Webmail" class="webmail-toolbarbutton"
oncommand="if (event.target==this) webmail.readDefault();"/>
<spacer flex="1" style="min-width: 4px !important;"/>
<dropmarker id="webmail-dropmarker" class="webmail-dropmarker" align="center"
onclick="if (event.which > 1) return; document.getElementById('webmail-menu').showPopup(document.getElementById('webmail-button'),-1,-1,'popup','bottomleft','topleft');">
<image id="webmail-dropmarker-image"/>
</dropmarker>
</hbox>
</stack>
<spacer style="width:4px !important"/>
</hbox>
<spacer flex="1" id="webmailPopupTarget" style="min-width: 2px !important; min-height: 2px !important;"/>
</vbox>
<toolbarbutton id="borkbork-webmaildraggable" width="120" label="Webmail" class="webmail-draggable" />
<toolbarbutton id="borkbork-webmailpreview" image="chrome://browser/skin/icons/mail_sm.png" class="webmail-preview" />
</stack>
</toolbaritem>
<!-- MERC: XXX: TODO: internationalize -->
<toolbarbutton id="customize-toolbars-button"
label="Customize"
class="toolbarbutton-1"
tooltiptext="Customize Toolbars"
command="cmd_CustomizeToolbars"/>
</toolbarpalette>
<toolbar id="nav-bar" class="toolbar-primary chromeclass-toolbar"
default_toolbarname="&navbarCmd.label;" toolbarname="&navbarCmd.label;" accesskey="&navbarCmd.accesskey;"
fullscreentoolbar="true" default_mode="icons" mode="icons" default_iconsize="large" iconsize="large"
customizable="true"
defaultset="back-button,forward-button,stop-reload-button,home-button,search-container,urlbar-container,securitycenter-item,popupblocker-button,combined-autofill-button,clearhistories-button,throbber-button"
context="toolbar-context-menu">
<hbox id="fullscreenflex" flex="1" hidden="true" fullscreencontrol="true"/>
<hbox id="window-controls" hidden="true" fullscreencontrol="true">
<toolbarbutton id="minimize-button" class="toolbarbutton-1"
tooltiptext="&fullScreenMinimize.tooltip;"
oncommand="window.minimize();"/>
<toolbarbutton id="restore-button" class="toolbarbutton-1"
observes="restoreButtonBroadcaster"
oncommand="BrowserFullScreen();"/>
<toolbarbutton id="close-button" class="toolbarbutton-1"
tooltiptext="&fullScreenClose.tooltip;"
oncommand="window.close();"/>
</hbox>
</toolbar>
<multibar id="PersonalToolbar" class="chromeclass-toolbar"
persist="currentIndex toolbarname currentset showtitle"
showtitle="true" customizable="true"
toolbarname="Personal Toolbar" default_toolbarname="Personal Toolbar"
currentIndex="0" context="toolbar-context-menu"
mode="icons" default_mode="icons"
iconsize="large" default_iconsize="large"
defaultset="Personal:spui:weather|51,webmail-button,personal-bookmarks;Local:spui:weather|52,spui:movies|11,spui:maps|21,spui:yellowpages|31,spui:shopping|41;News:spui:newsticker|1,spui:newsticker2|2,spui:stockticker|61"/>
<toolbarset id="customToolbars" persist="toolbarorder" defaulttoolbarorder="nav-bar,PersonalToolbar" toolbarorder="nav-bar,PersonalToolbar" context="toolbar-context-menu"/>
</toolbox>
<spacer flex="1" context="toolbar-context-menu" />
</vbox>
</stack>
<hbox flex="1" id="browser">
<vbox id="sidebar-box" hidden="true" class="chromeclass-extrachrome"/>
<splitter id="sidebar-splitter" class="chromeclass-extrachrome" hidden="true"/>
<vbox id="appcontent" flex="1">
<tabbrowser id="content" disablehistory="true"
flex="1" contenttooltip="aHTMLTooltip"
contentcontextmenu="contentAreaContextMenu"
onnewtab="BrowserOpenTab();"
onkeyup="onBrowserKeyUp(event);"
onnewpreftab="BrowserOpenPrefTab();"
onhometab="BrowserHome();"
onnetscapetab="BrowserNetscapeTab();"
onbookmarkpage="bookmarkPageFromTabRightClick();"
onbookmarktabs="bookmarkAllTabs(document.getElementById('content'), true);"
onnewcurrenttab="BrowserOpenNewCurrentTab();"
autocompleteenabled="true"
autocompletepopup="PopupAutoComplete"
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);"
onclick="return contentAreaClick(event, false);"/>
</vbox>
</hbox>
<toolbar id="FindToolbar" hidden="true" align="center" fullscreentoolbar="true">
<toolbarbutton id="find-closebutton" class="tabs-closebutton" tooltiptext="&findCloseButton.tooltip;"
oncommand="closeFindBar();"/>
<label value="&find.label;"/>
<hbox id="find-field-container">
<textbox id="find-field" oninput="find(this.value);" onfocus="onFindBarFocus();"
onkeypress="onFindBarKeyPress(event);" onblur="onFindBarBlur();"/>
</hbox>
<toolbarbutton id="find-next" class="toolbarbutton-1" label="&findNext.label;" tooltiptext="&findNext.tooltip;"
command="cmd_findAgain" disabled="true"/>
<toolbarbutton id="find-previous" class="toolbarbutton-1" label="&findPrevious.label;" tooltiptext="&findPrevious.tooltip;"
command="cmd_findPrevious" disabled="true"/>
<toolbarbutton id="highlight" class="toolbarbutton-1" label="&highlight.label;" tooltiptext="&highlight.tooltip;"
oncommand="toggleHighlight(!this.checked);
if (gFindMode != FIND_NORMAL) setFindCloseTimeout();"
type="checkbox" disabled="true"/>
<checkbox id="find-case-sensitive" oncommand="toggleCaseSensitivity(this.checked);"
label="&caseSensitiveCheckbox.label;" accesskey="&caseSensitiveCheckbox.accesskey;"/>
<image id="find-status-icon"/>
<label id="find-status"/>
</toolbar>
<!-- MERC (rpaul) status bar moved into an overlay statusbarOverlay.xul -->
<statusbar id="status-bar"/>
<script type="application/x-javascript">
dump ("Loading script file App.js\n");
</script>
<script type="application/x-javascript" src="chrome://aim/content/App.js"/>
<script type="application/x-javascript">
dump ("Loading script file aimHelpers.js\n");
</script>
<script type="application/x-javascript" src="chrome://aim/content/aimHelpers.js"/>
<script type="application/x-javascript">
dump ("Loading script file AimBuddy.js\n");
</script>
<script type="application/x-javascript" src="chrome://aim/content/AimBuddy.js"/>
<script type="application/x-javascript">
dump ("Loading script file AimIM.js\n");
</script>
<script type="application/x-javascript" src="chrome://aim/content/AimIM.js"/>
<script type="application/x-javascript">
dump ("Finished loading script file AimIM.js\n");
</script>
</window>