/*
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(60, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "index.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(80, 215);
dhtmlMenu.addItem(new NavBarMenuItem("Degrees", ""));
dhtmlMenu.addItem(new NavBarMenuItem("<b>Graduate Programs", ""));
dhtmlMenu.addItem(new NavBarMenuItem(" Master of Arts [MA]", "ma/index.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Master of Arts in Teaching [MAT]", "TLC/mat.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Master of Science [MS]", "TLC/se.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Educational Specialist [EdS]", "eds/index.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Doctoral Degrees [EdD/PhD]", "doc/index.html"));
dhtmlMenu.addItem(new NavBarMenuItem("<b>Undergraduate Programs", ""));
dhtmlMenu.addItem(new NavBarMenuItem(" Bachelor Degrees [BS/BA]", "bs/index.html"));
dhtmlMenu.addItem(new NavBarMenuItem("test", "http://google.com"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(90, 255);
dhtmlMenu.addItem(new NavBarMenuItem("Programs", ""));

dhtmlMenu.addItem(new NavBarMenuItem("<b>ECP", ""));
dhtmlMenu.addItem(new NavBarMenuItem(" Community Counseling", "program_ecp1.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Educational & Developmental Psychology", "program_ecp2.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" School Counseling", "program_ecp3.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" School Psychology", "program_ecp4.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Educational Psychology", "program_ecp5.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Counseling Psychology", "program_ecp6.html"));


dhtmlMenu.addItem(new NavBarMenuItem("<b>LEAD", ""));
//dhtmlMenu.addItem(new NavBarMenuItem(" Leadership", "program_lead.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Leadership", "http://www.andrews.edu/leadership/index.html"));
//dhtmlMenu.addItem(new NavBarMenuItem(" Educational Administration", "program_care2.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Educational Administration", "EdAdmin"));


//dhtmlMenu.addItem(new NavBarMenuItem("<b>TLC", "program_tlc.html"));
dhtmlMenu.addItem(new NavBarMenuItem("<b>TLC", "../TLC"));
//dhtmlMenu.addItem(new NavBarMenuItem(" Elementary Education", "program_tl1.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Elementary Education", "TLC/te.html#elementary"));
//dhtmlMenu.addItem(new NavBarMenuItem(" Secondary Education", "program_tl2.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Secondary Education", "TLC/te.html#secondary"));
//dhtmlMenu.addItem(new NavBarMenuItem(" Special Education", "sped1.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Special Education", "TLC/se.html"));
//dhtmlMenu.addItem(new NavBarMenuItem(" Curriculum & Instruction", "program_care1.html"));
dhtmlMenu.addItem(new NavBarMenuItem(" Curriculum & Instruction", "TLC/ci.html"));





myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(110, 230);
dhtmlMenu.addItem(new NavBarMenuItem("Certification", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Teacher Certification", "cert/index.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Ed. Admin. Certification", "http://www.educ.andrews.edu/EdAdmin/certification.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("State of Michigan Certification", 
"cert/index.html#cred2"));
dhtmlMenu.addItem(new NavBarMenuItem("Counseling & Psychology Certificates",
 "cert/index.html#cred3"));


myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(140, 155);
dhtmlMenu.addItem(new NavBarMenuItem("Distance Learning", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Canter Courses", "canter.html"));
dhtmlMenu.addItem(new NavBarMenuItem("QEP Courses", "qep/index.html"));
dhtmlMenu.addItem(new NavBarMenuItem("SED Courses", "sed_courses.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Teachscape Courses", "Teachscape/Teachscape.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 175);
dhtmlMenu.addItem(new NavBarMenuItem("Admissions", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Undergraduate Admissions", "under.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Graduate Admissions", "gradadmis.html"));
myNavBar1.addMenu(dhtmlMenu);

//set menu colors      1        2         3       4        5       6         7        8         9
myNavBar1.setColors("black", "white", "black", "white", "#0046A6", "black", "white", "white", "#0046A6")

// (1)main outside line, (2)main intial font color, (3)main bgcolor, (4)mainmenu mouseover fontcolor, (5)main mouseover bgcolor 
// (6)submenu intial font color, (7)submenu initial bgcolor, (8)submenu mouseover font color, (9)submenu mouseover bgcolor color


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