/*
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(150, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "http://www.illinois-cpa-exam.com/new/index.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(250, 250);
dhtmlMenu.addItem(new NavBarMenuItem(" Form Downloads", "forms.html"));

myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(200, 200);
dhtmlMenu.addItem(new NavBarMenuItem("FAQ", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Exam", "files/examfaq.pdf"));
dhtmlMenu.addItem(new NavBarMenuItem("General", "files/generalfaq.pdf"));
dhtmlMenu.addItem(new NavBarMenuItem("International", "files/intfaq.pdf"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(200, 200);
dhtmlMenu.addItem(new NavBarMenuItem("Links", "links.html"));


myNavBar1.addMenu(dhtmlMenu);



dhtmlMenu = new NavBarMenu(150, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Search", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Yahoo", "http://www.yahoo.com"));
dhtmlMenu.addItem(new NavBarMenuItem("Alta Vista", "http://www.altavista.com"));
dhtmlMenu.addItem(new NavBarMenuItem("Infoseek", "http://www.infoseek.com"));
dhtmlMenu.addItem(new NavBarMenuItem("Excite", "http://www.excite.com"));
dhtmlMenu.addItem(new NavBarMenuItem("HotBot", "http://www.hotbot.com"));
myNavBar1.addMenu(dhtmlMenu);

//set menu colors
myNavBar1.setColors("#FFFFFF", "#34505E", "#FFFFFF",  "#34505E", "#FFFFFF",  "#34505E", "#FFFFFF",  "#34505E", "#FFFFFF")


//uncomment below line to center the menu (valid values are "left", "center", and "right"
//myNavBar1.setAlign("center")

var fullWidth;

function init() {
show_clock();
  // 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, 50);
}

