//define menu items (first parameter specifies main menu width, second specifies sub menu width in pixels)
//add more menus simply by adding more "blocks" of same code below

dhtmlMenu = new NavBarMenu(50 ,250);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "./Default.htm"));
TnavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(70, 250);
dhtmlMenu.addItem(new NavBarMenuItem("About Us", "./Company.htm"));
//dhtmlMenu.addItem(new NavBarMenuItem("The Company", "./Company.htm"));
//dhtmlMenu.addItem(new NavBarMenuItem("Employment", "./Employment.htm"));
TnavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(80, 250);
dhtmlMenu.addItem(new NavBarMenuItem("Contact Us", "./Contactus.htm"));



TnavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(100, 250);
dhtmlMenu.addItem(new NavBarMenuItem("Terms of Use", "./TermsOfUse.htm"));





//TnavBar1.addMenu(dhtmlMenu);

//dhtmlMenu = new NavBarMenu(50, 250);
//dhtmlMenu.addItem(new NavBarMenuItem("Technology", "./Technology.htm"));
//dhtmlMenu.addItem(new NavBarMenuItem("Network", "./Network.htm"));
//dhtmlMenu.addItem(new NavBarMenuItem("Servers", "./Servers.htm"));


TnavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(50, 250);
dhtmlMenu.addItem(new NavBarMenuItem("Partners", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Creative Eye Graphic Design", "http://www.creativeeye.com.au"));
TnavBar1.addMenu(dhtmlMenu);





//set menu colors
TnavBar1.setColors("#ffffff", "#000080", "#ffffcc", "#000000","#ffffcc",      "#000080", "#ffffcc", "#ffffff", "#000080")

//Sets the various colors used for the bar. The first value sets the border color.
// The next two set the text and background colors for a header and the two after 
//that set the colors used when a header is highlighted. The last four values do the same for the menu items. 


//set fonts

//navBarSetFonts(hdrFamily, hdrStyle, hdrWeight, hdrSize,
//                        itmFamily, itmStyle, itmWeight, itmSize) {


TnavBar1.setFonts("Verdana","plain","Bold","8pt","Verdana","plain","","8pt")



TnavBar1.setAlign("right")


//uncomment below line to center the menu (valid values are "left", "center", and "right"
TnavBar1.setAlign("right")

var fullWidth;
function initTopMen() {

  // Get width of window, need to account for scrollbar width in Netshit.

  fullWidth = getWindowWidth() 
    - (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);

  TnavBar1.resize(fullWidth);
  TnavBar1.create();
  TnavBar1.setzIndex(10);
}