
var myNavBar1 = new NavBar(0);
var dhtmlMenu;

//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(150, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Catalog", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Part Number Search", "/cfide/scripts/partno/pnosearch.cfm"));
dhtmlMenu.addItem(new NavBarMenuItem("PDF Format", "/catalog.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(150, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Support", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Tech Docs", "/techdocs.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Tech Support Form", "/techsupport.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Direct Email", "/email.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Performance Calculators", "/calculators.html"));
dhtmlMenu.addItem(new NavBarMenuItem("R & P installation instructions", "/rpinstruction.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(150, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Employment", "/employment.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(150, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Other", ""));
dhtmlMenu.addItem(new NavBarMenuItem("CarTest v4.5", "/downloads.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Catalog (PDF)", "/catalog.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Browse Photos", "/contestants/contestants.html"));
myNavBar1.addMenu(dhtmlMenu);



//set menu colors
myNavBar1.setColors("lightblue", "white", "blue", "yellow", "darkblue", "black", "lightblue", "white", "darkblue")

//uncomment below line to center the menu (valid values are "left", "center", and "right"
//myNavBar1.setAlign("center")

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);
}