/*
Top Navigational Bar II (By Mike Hall @ Brainjar.com)
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(40, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "http://mrhallsroom.com"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(71, 72);
dhtmlMenu.addItem(new NavBarMenuItem("My Classes", "classes.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("3rd Period", "http://www.mrhallsroom.com/images/classes/staytuned.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("4th Period", "http://www.mrhallsroom.com/images/classes/09_4.html"));
dhtmlMenu.addItem(new NavBarMenuItem("5th Period", "http://www.mrhallsroom.com/images/classes/09_5.html"));
dhtmlMenu.addItem(new NavBarMenuItem("6th Period", "http://www.mrhallsroom.com/images/classes/staytuned.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("7th Period", "http://www.mrhallsroom.com/images/classes/09_7.html"));
dhtmlMenu.addItem(new NavBarMenuItem("8th Period", "http://www.mrhallsroom.com/images/classes/staytuned.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("9th Period", "http://www.mrhallsroom.com/images/classes/staytuned.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("World Geography", "geographypage.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("American Government", "govpage.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Hospitality & Tourism", "travel.htm"));
myNavBar1.addMenu(dhtmlMenu);


dhtmlMenu = new NavBarMenu(98, 99);
dhtmlMenu.addItem(new NavBarMenuItem("Bryan Adams HS", "bapage.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Who was Bryan Adams?", "bahistory.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Bryan Adams History", "bahistory.htm#history"));
dhtmlMenu.addItem(new NavBarMenuItem("SBDMC", "sitebased.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Library", "library.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Counselors", "counselors.htm"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(58, 59);
dhtmlMenu.addItem(new NavBarMenuItem("Close Up", "closeup.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("All the pictures", "closeuppics.htm"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(66, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Cool Links", "linkspage.htm"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(56, 160);
dhtmlMenu.addItem(new NavBarMenuItem("Archives", "archives.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Check out all the content from the past years", ""));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(80, 85);
dhtmlMenu.addItem(new NavBarMenuItem("Parents Page", "parents.htm"));
myNavBar1.addMenu(dhtmlMenu);

//set menu colors
myNavBar1.setColors("#ffffff", "#ffffff", "#006600", "#ffffff", "#FF0000", "#000000", "#FF0000", "#ffffff", "#006600")


//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);
}
