/*
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(100, 150);
dhtmlMenu.addItem(new NavBarMenuItem("BijooS.COM", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Home", "index.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Oracle DBA", "oracle/index.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("H1B Info", "h1b/index.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("TKMCE Alumni", "tkmce/index.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Guest Book", "gbook/index.htm"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Oracle DBA", "oracle/index.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("DBA Tips", "oratom/index.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Unix 4 DBA", "oracle/unix4dba1.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Little Things", "oracle/ora_qa.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Do U Know?", "oracle/douknow.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Oracle9i New", "ora9/index.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Oracle10g New", "ora10/index.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("OCP Certify", "oracle/oracle_certified_professional.htm"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Scripts", "ora7/index.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Object Info", "ora7/oracle_object.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Source Code", "ora7/oracle_source.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Tools", "ora7/oracle_tools.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Utilities", "ora7/oracle_utility.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Unix", "ora7/oracle_unix.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("8i Scripts", "ora8/index.htm"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Miscellaneous", ""));
 
dhtmlMenu.addItem(new NavBarMenuItem("From U", "contributions/index.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Web Articles", "oracle/webarticle.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Web Resources", "oracle/link_month.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Book Store", "oracle/book_store.htm"));
myNavBar1.addMenu(dhtmlMenu);

//set menu colors
// myNavBar1.setColors("#33CCFF", "#FFFF00", "#3898FF", "#FFFFFF", "#3366FF", "#FFFF00", "#3898FF", "#FFFFFF", "#3366FF")
//#0066CC

myNavBar1.setColors("#000080", "#FFFFFF", "#6464B3", "#CECECE", "#000080", "#FFFFFF", "#6464B3", "#FFFF00", "#000080")

// Border, Top Line Text, TL Background, TL Text Mouseover, TL Mouseover Background
// Menu Item Text Color, MI Background, MI Text Mouseover, MI Mouseover Background

//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);
}

