<?xml version="1.0"?>

<!DOCTYPE window [
<!ENTITY % communicatorOverlayDTD SYSTEM "chrome://communicator/locale/communicatorOverlay.dtd">
%communicatorOverlayDTD;
<!ENTITY % helpMenuOverlayDTD SYSTEM "chrome://help/locale/helpMenuOverlay.dtd">
%helpMenuOverlayDTD;
]>

<overlay id="communicatorOverlay"
         xmlns:html="http://www.w3.org/1999/xhtml"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         xmlns:NC="http://home.netscape.com/NC-rdf#" 
         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

  <script language="JavaScript" href="chrome://global/content/globalOverlay.js"/>
  
  <script>
    if (this._elementIDs) {
      this._elementIDs.push('myNetscapeButton');
      this._elementIDs.push('net2phoneButton');
      this._elementIDs.push('netscapeSearchButton');
      this._elementIDs.push('netscapeShopButton');
    }
  </script>

  <!-- for toolbar buttons in mail/editor -->
  <menupopup id="printMenu">
    <menuseparator class="nc" insertafter="printMenu" hidden="&hidePrintPlusItems;"/>
    <menu class="nc" label="&printPlusMenu.label;" insertafter="printMenuItem"
          hidden="&hidePrintPlusItems;"
          datasources="chrome://communicator-region/locale/communicatorOverlay.rdf"
          ref="chrome://communicator-region/locale/communicatorOverlay.rdf#root"
          rdf:containment="urn:clienturl:printplus">
      <template>
        <rule>
          <menupopup>
            <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#title" 
                      url="rdf:http://home.netscape.com/NC-rdf#content" 
                      oncommand="openTopWin(this.getAttribute('url')); event.preventBubble();"/>
          </menupopup>
        </rule>
      </template>
      <menupopup/>
    </menu>
  </menupopup>

  <!-- for toplevel menu items in navigator -->
  <menupopup id="menu_FilePopup">
    <menu id="navprintplus" class="nc" insertafter="printMenuItem" label="&printPlusMenu.label;"
          hidden="&hidePrintPlusItems;"
          datasources="chrome://communicator-region/locale/communicatorOverlay.rdf"
          ref="chrome://communicator-region/locale/communicatorOverlay.rdf#root"
          rdf:containment="urn:clienturl:printplus">
      <template>
        <rule>
          <menupopup>
            <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#title" 
                      url="rdf:http://home.netscape.com/NC-rdf#content" 
                      oncommand="openTopWin(this.getAttribute('url'));"/>
          </menupopup>
        </rule>
      </template>
      <menupopup/>
    </menu>
  </menupopup>    

  <!-- for toplevel menu items in editor -->
  <menupopup id="fileMenu_Popup">
    <menu class="nc" insertafter="printMenuItem" label="&printPlusMenu.label;"
          hidden="&hidePrintPlusItems;"
          datasources="chrome://communicator-region/locale/communicatorOverlay.rdf"
          ref="chrome://communicator-region/locale/communicatorOverlay.rdf#root"
          rdf:containment="urn:clienturl:printplus">
      <template>
        <rule>
          <menupopup>
            <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#title" 
                      url="rdf:http://home.netscape.com/NC-rdf#content" 
                      oncommand="openTopWin(this.getAttribute('url'));"/>
          </menupopup>
        </rule>
      </template>
      <menupopup/>
    </menu>
  </menupopup>    

<menu id="menu_Help">
  <menupopup id="helpPopup">
    <menuitem label="&helpContents.label;" 
       accesskey="&helpContents.accesskey;"
       id="help"
       oncommand="toOpenWindowByType('mozilla:help', 'chrome://help/content/help.xul');" />
    <menuseparator position="2" />
    <menuitem label="&whatNewCmd.label;" 
       accesskey="&whatNewCmd.accesskey;" 
       position="3"
       oncommand="openTopWin('urn:clienturl:help:whatsnew');" />
    <menuitem label="&feedBackCmd.label;" 
       accesskey="&feedBackCmd.accesskey;" 
       position="4" 
       oncommand="openTopWin('urn:clienturl:help:feedback');" />
    <menuitem label="&secCmd.label;" 
       accesskey="&secCmd.accesskey;" 
       position="5" 
       oncommand="openTopWin('urn:clienturl:help:security');" />
