var myNavBar1 = new NavBar(0);
var dhtmlMenu;

//Please leave this code layout this way. I know it causes a larger file size for downloading but it makes it easier
//to update. Thank you, Sincerely Dan Pena
//define menu items (first parameter of NavBarMenu specifies main category 
//width, second specifies sub category width in pixels)
//add more menus simply by adding more "blocks" of same code below

dhtmlMenu = new NavBarMenu(50,0);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "../index.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(70,0);
dhtmlMenu.addItem(new NavBarMenuItem("Specials", "../specials.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(60,0);
dhtmlMenu.addItem(new NavBarMenuItem("News", "../news.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(70,0);
dhtmlMenu.addItem(new NavBarMenuItem("Contacts", "../contacts.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(80,0);
dhtmlMenu.addItem(new NavBarMenuItem("Order Status", "http://www.prowleronline.com/cgi-bin/forumdisplay.cgi?action=topics&forum=Prowler+Store+Order+Status&number=17&DaysPrune=45&LastLogin="));
myNavBar1.addMenu(dhtmlMenu);

//set menu colors
//.................. MainCell   TextColor  CellColor             MainCell   SubText   SubMenu    SubMenu
//		     LineColor				         Color      Color     CellColor  LinkColor
//----------------------------------------------------------------------------------------------------------------
myNavBar1.setColors("#CDCDCD", "#FFFFFF", "#CDCDCD", "#FFFFFF", "#D682D6", "#FFFFFF", "#F089B7", "#000000", "#ffffff")

//uncomment below line to center the menu (valid values are "left", "center", and "right"
myNavBar1.setAlign("left")

var fullWidth;

function init() {

  // Get width of window, need to account for scrollbar width in Netscape.

  fullWidth = getWindowWidth() 
    - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);

  myNavBar1.resize(fullWidth);
  myNavBar1.create();
  myNavBar1.setzIndex(2);
  //UNCOMMENT BELOW LINE TO MOVE MENU DOWN 50 pixels
  myNavBar1.moveTo(0, 143);
}

