/*
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(75, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "http://www.optimizationconsultants.com"));
myNavBar1.addMenu(dhtmlMenu);

myNavBar1.setFonts("verdana","normal","normal",10,"verdana","normal;","normal",10);


dhtmlMenu = new NavBarMenu(75, 150);
dhtmlMenu.addItem(new NavBarMenuItem("About Us", "about_us.shtml"));
myNavBar1.addMenu(dhtmlMenu);


dhtmlMenu = new NavBarMenu(110, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Knowledge Base", "knowledge_base.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Associations", "associations.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Case Studies", "case_studies.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("FAQ's", "faq.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Articles", "articles.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Definitions", "definitions.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Press", "press.shtml"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(80, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Registration", "registration.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Workshops", "workshops.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Request Proposal", "request_proposal.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Request Speaker", "request_speaker.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Request Speaker Form", "request_speaker.shtml#speaker"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(130, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Optimization Services", "optimization_services.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Contract Services", "contract_services.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Strategic Engagements", "strategic_engagements.shtml"));
dhtmlMenu.addItem(new NavBarMenuItem("Web Site Analysis", "web_site_analysis.shtml"))
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(110, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Partner Programs", "partner_programs.shtml"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(80, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Contact Us","contact_us.asp"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(80, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Site Map", "site_map.shtml"));

myNavBar1.addMenu(dhtmlMenu);

//set menu colors
myNavBar1.setColors("#ffffff", "#ffffff", "#B5A30B", "#ffffff", "#0080A8", "#000000", "#B0D8E8", "#ffffff", "#0080A8")

//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.2);
   myNavBar1.moveTo(x=0,y=269);
      myNavBar1.setFonts("verdana","italic","normal",1,"verdana","italic","normal",1);
	  myNavBar1.invert();
  //UNCOMMENT BELOW LINE TO MOVE MENU DOWN 50 pixels
  //myNavBar1.moveTo(0, 50);
}