/* ***********************************************************
config_menubar_nomap.js
Javascript that creates the horizontal menu bar for pages in
Map Viewer 3rd Edition that do not include a map (index.asp,
about.htm, acknowlegements.htm, print.asp, properties.asp).
This menu bar does not include map tools.
--------------------------------------------------------------
Browser compatibility - Supports W3C DOM compatible browsers such
as IE 5, 5.5, and 6; Netscape 7 and Mozilla FireFox 1. Does not 
support IE 4 and Netscape Navigator 4.
--------------------------------------------------------------
Dependencies - jsdomenu.js, jsdomenubar.js 
--------------------------------------------------------------
Acknowledgements - jsDOMenuBar Version 1.1.1, Copyright (C) 2004
- 2005 Toh Zhiqiang Released on 12 February 2005. jsDOMenuBar is
distributed under the terms of the GNU GPL license. This program 
is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or 
(at your option) any later version. Download jsDOMenuBar at 
http://www.tohzhiqiang.per.sg/projects/jsdomenubar/ and refer to
license.txt and readme.txt included in the download for more 
information.
--------------------------------------------------------------
History
May 2005, Initial code for Map Viewer 3rd Edition
************************************************************ */

// Create horizontal menu bar
function createjsDOMenu() {  
  mainMenu1 = new jsDOMenu(170);
  with (mainMenu1) {
    addMenuItem(new menuItem("Map Tools Help", "hp", "help.htm"));
    addMenuItem(new menuItem("About Map Viewer", "", "about.htm"));	
  }
  
  menuBar = new jsDOMenuBar("static", "staticMenuBar", "", "", ""); //CREATE MAIN MENU ITEMS
  with (menuBar) {
    addMenuBarItem(new menuBarItem("Home", "", "","","index.asp","jsdomenubaroneitem","jsdomenubaroneitemover","jsdomenubaroneitem")); 
	addMenuBarItem(new menuBarItem("Help", mainMenu1, ""));
  }
  mainMenu1.items.hp.showIcon("helpicon", "helpicon", "helpicon");
}
