/*
Top Navigational Bar II (By Mike Hall)
Last updated: 00/05/08
Permission granted and modified by Dynamicdrive.com to include script in archive
For this and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

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(70, 0);
dhtmlMenu.addItem(new NavBarMenuItem("HOME", "/index.htm"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(110, 120);
dhtmlMenu.addItem(new NavBarMenuItem("WHO WE ARE", ""));
dhtmlMenu.addItem(new NavBarMenuItem("An Overview", "/WhoWeAre/WhoWeAre.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Our Consultants", "/WhoWeAre/WhoWeAre.htm#consultants"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(110, 120);
dhtmlMenu.addItem(new NavBarMenuItem("WHAT WE DO", "/WhatWeDo/WhatWeDo.htm"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 170);
dhtmlMenu.addItem(new NavBarMenuItem("SERVICES", "/Services/Services.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Business Process Audits", "/Services/Audit.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("System Selections", "/Services/SystemSelection.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("MANMAN Services", "/Services/Manman.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Sarbanes-Oxley Services", "/Services/SOX.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("PC Application Training", "/Services/PCApplication.htm"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(110, 120);
dhtmlMenu.addItem(new NavBarMenuItem("OUR CLIENTS", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Client List", "/Success/OurCustomers.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Testimonials", "/Success/Testimonials.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Success Stories", "/Success/Invitrogen1.htm"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(277, 0);
dhtmlMenu.addItem(new NavBarMenuItem("CONTACT US", "/Misc/Contactus.htm"));
myNavBar1.addMenu(dhtmlMenu);

//set menu colors
// border color. The next two set the text and background colors for a header and the two after that set the colors used when a header is highlighted. The last four values do the same for the menu items. 
myNavBar1.setColors("#072F67", "#FFFFFF", "#072F67", "#072F67", "#FFFFFF", "#FFFFFF", "#072F67", "#072F67", "#FFFFFF")

//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.setFonts("Verdana,Arial,sans-serif","plain","bold","10pt","Verdana,Arial,sans-serif","plain","bold","8pt");
  myNavBar1.create();
  myNavBar1.moveTo(11,69);
  myNavBar1.setzIndex(11);
  myNavBar1.resize(0);
}

