/*
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(150, 120);
dhtmlMenu.addItem(new NavBarMenuItem("Home / Recherche", "../home.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(110, 120);
dhtmlMenu.addItem(new NavBarMenuItem("Listes de jeux", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Par noms", "../list/listnames.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Par types", "../list/listtypes.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Par cotes", "../list/listcotes.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Par chroniqueurs", "../list/listrev.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Chroniques", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Saison 2000-2001", "../review/rev2000.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Saison 2001-2002", "../review/rev2001.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Toutes", "../review/revall.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Hit", "../review/revhit.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Suggestions", "../review/suggest.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Ressources", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Grille d'&eacute;valuation", "../ressources/evgrid.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Modèle de chronique", "../ressources/review.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Syst&egrave;me", "../ressources/system.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Infos de navigation", "../ressources/navig.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Autres sites", "../ressources/other.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 150);
dhtmlMenu.addItem(new NavBarMenuItem("R&eacute;f&eacute;rences", ""));
dhtmlMenu.addItem(new NavBarMenuItem("&Eacute;quipe", "team.html"));
dhtmlMenu.addItem(new NavBarMenuItem("E-Mail", "email.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Guestbook", "guestbook.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Copyright", "copyright.html"));
myNavBar1.addMenu(dhtmlMenu);

//set menu colors
myNavBar1.setColors("#000000", "#000000", "#00FF00", "#ffffff", "#666666", "#000000", "#cccccc", "#00FF00", "#ffa201")

//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);
}