/* Top Navigational Bar II (By Mike Hall @ Brainjar.com) Permission granted to Dynamicdrive.com to include script in archive Adapted by EuskalcomTV (Niko Vazquez) */ 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, 0); dhtmlMenu.addItem(new NavBarMenuItem("Home", "../")); myNavBar1.addMenu(dhtmlMenu); dhtmlMenu = new NavBarMenu(110, 120); dhtmlMenu.addItem(new NavBarMenuItem("Telebista", "")); dhtmlMenu.addItem(new NavBarMenuItem("ETB-1", "etb1.html")); dhtmlMenu.addItem(new NavBarMenuItem("ETB-2", "etb2.html")); dhtmlMenu.addItem(new NavBarMenuItem("ETB Sat", "etbsat.html")); dhtmlMenu.addItem(new NavBarMenuItem("Canal Vasco", "cv.html")); myNavBar1.addMenu(dhtmlMenu); dhtmlMenu = new NavBarMenu(100, 150); dhtmlMenu.addItem(new NavBarMenuItem("Irratia", "")); dhtmlMenu.addItem(new NavBarMenuItem("Euskadi Irratia", "ei.html")); dhtmlMenu.addItem(new NavBarMenuItem("Radio Euskadi", "re.html")); dhtmlMenu.addItem(new NavBarMenuItem("Radio Vitoria", "rv.html")); dhtmlMenu.addItem(new NavBarMenuItem("Euskadi Gaztea", "eg.html")); dhtmlMenu.addItem(new NavBarMenuItem("Radio EiTB Irratia", "reitb.html")); myNavBar1.addMenu(dhtmlMenu); dhtmlMenu = new NavBarMenu(100, 150); dhtmlMenu.addItem(new NavBarMenuItem("Informazioa", "")); dhtmlMenu.addItem(new NavBarMenuItem("2002eko Txostena", "balance_2002.html")); dhtmlMenu.addItem(new NavBarMenuItem("EiTB Taldea", "index.html")); dhtmlMenu.addItem(new NavBarMenuItem("Organigrama", "organigram.html")); dhtmlMenu.addItem(new NavBarMenuItem("Administrazio Kontseilua", "admin.html")); dhtmlMenu.addItem(new NavBarMenuItem("EiTBko helbideak", "dir.html")); dhtmlMenu.addItem(new NavBarMenuItem("Telefonoak", "telefon.html")); myNavBar1.addMenu(dhtmlMenu); //set menu colors myNavBar1.setColors("#003973", "#ffffff", "#003973", "#003973", "#BDD6DE", "#000000", "#BDD6DE", "#ffffff", "#003973") //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); }