
//Variables to set
between=28		//The pixel between the menus and the submenus
mainheight=25		//The height of the mainmenus
subheight=22		//The height of the submenus
pxspeed=13		//The pixel speed of the animation
timspeed=15		//The timer speed of the animation
// MOD11: Replace menuy line with these two
//menuyHome=145	//The top placement of the menu
//menuyAll=80		//The top placement of the menu
menuy=80			//The top placement of the menu.
menux=0			//The left placement of the menu

//Images - Play with these
level0_regular="images/level0_regular.gif"
level0_round="images/level0_round.gif"
level1_regular="images/level1_regular.gif"
level1_round="images/level1_round.gif"
level1_sub="images/level1_sub.gif"
level1_sub_round="images/level1_sub_round.gif"
level1_round2="images/level1_round2.gif"
level2_regular="images/level2_regular.gif"
level2_round="images/level2_round.gif"

// MOD01: Highlight images for current link in open submenu
level1_regular_hi="images/level1_regular_hi.gif";
level1_round_hi="images/level1_round_hi.gif";
// MOD01: Highlight images for current link in open sub2menu
level2_regular_hi="images/level2_regular_hi.gif";
level2_round_hi="images/level2_round_hi.gif";

level0_regular_hi="images/level0_regular_hi.gif";
level0_round_hi="images/level0_round_hi.gif";
// MOD09: Top level image with drop-down arrow
level0_sub="images/level0_sub.gif";

//Leave this line
preLoadBackgrounds(level0_regular,level0_round,level1_regular,level1_round,level1_sub,level1_sub_round,level1_round2,level2_regular,level2_round,
	level0_regular_hi, level0_round_hi, level1_regular_hi,level1_round_hi,level2_regular_hi,level2_round_hi,level0_sub)

//There are 3 different types of menus you can make
//top = Main menus
//sub = Sub menus
//sub2 = SubSub menus

//You control the look of the menus in the stylesheet
//makeMenu('TYPE','TEXT','LINK','TARGET', 'END (THE LAST MENU)')





	








makeMenu('top','Home', 'index.php')
makeMenu('top','Partenaires')
	makeMenu('sub','www.cgb.fr','construction.php?ref=cgb')
	makeMenu('sub','Numismatique.com','construction.php?ref=numismatique')
	makeMenu('sub','Collectionneurs','construction.php?ref=collectionneurs')
makeMenu('top','Royales')
	makeMenu('sub','R.1 - Liard','collec.php?ref=1')
	makeMenu('sub','R.2 - Demi Sol','collec.php?ref=2')
        makeMenu('sub','R.3-4 - Sol')
	  makeMenu('sub2','R.3 - Sol','collec.php?ref=3')
          makeMenu('sub2','R.4 - Sol de béarn','collec.php?ref=4')
        makeMenu('sub','R.5 - 1/10 d\'écu','collec.php?ref=5')
	makeMenu('sub','R.6 - 1/5 d\'écu','collec.php?ref=6')
        makeMenu('sub','R.7 - 1/2 d\'écu','collec.php?ref=7')
	makeMenu('sub','R.8-9 - Ecu')
	  makeMenu('sub2','R.8 - Ecu','collec.php?ref=8')
          makeMenu('sub2','R.9 - Ecu de béarn','collec.php?ref=9')
        makeMenu('sub','R.10 - Louis d\'or','collec.php?ref=10')
	makeMenu('sub','R.11 - Double Louis','collec.php?ref=11')
makeMenu('top','Constitutionnelles')
	makeMenu('sub','R.30-1 - 3 Deniers')
	  makeMenu('sub2','R.30 - Type françois','collec.php?ref=30')
          makeMenu('sub2','R.31 - Type français','collec.php?ref=31')
	makeMenu('sub','R.32-3 - 6 Deniers')
	  makeMenu('sub2','R.32 - Type françois','collec.php?ref=32')
          makeMenu('sub2','R.33 - Type français','collec.php?ref=33')
	makeMenu('sub','R.34-6 - 12 Deniers')
	  makeMenu('sub2','R.34 - Type françois','collec.php?ref=34')
          makeMenu('sub2','R.35 - Type français','collec.php?ref=35')
          makeMenu('sub2','R.36 - Type hybride','collec.php?ref=36')
        makeMenu('sub','R.37-9 - 2 Sols')
	  makeMenu('sub2','R.37 - Type françois','collec.php?ref=37')
          makeMenu('sub2','R.38 - Type français','collec.php?ref=38')
          makeMenu('sub2','R.39 - Flan Monneron','collec.php?ref=39')
        makeMenu('sub','R.40-1 - 15 sols')
	  makeMenu('sub2','R.40 - Type françois','collec.php?ref=40')
          makeMenu('sub2','R.41 - Type français','collec.php?ref=41')
        makeMenu('sub','R.42-3 - 30 sols')
	  makeMenu('sub2','R.42 - Type françois','collec.php?ref=42')
          makeMenu('sub2','R.43 - Type français','collec.php?ref=43')
        makeMenu('sub','R.44-5 - 1/2 Ecu')
	  makeMenu('sub2','R.44 - Type françois','collec.php?ref=44')
          makeMenu('sub2','R.45 - Type français','collec.php?ref=45')
        makeMenu('sub','R.46-7 - Ecu')
	  makeMenu('sub2','R.46 - Type françois','collec.php?ref=46')
          makeMenu('sub2','R.47 - Type français','collec.php?ref=47')
        makeMenu('sub','R.48 - Louis d\'or','collec.php?ref=48')
makeMenu('top','Conventionnelles')
	makeMenu('sub','R.70 - 1/2 Sol','collec.php?ref=70')
        makeMenu('sub','R.71-3 - Sol')
          makeMenu('sub2','R.71 - Type françoise','collec.php?ref=71')
          makeMenu('sub2','R.72 - Type française','collec.php?ref=72')
          makeMenu('sub2','R.73 - Type sans date','collec.php?ref=73')
        makeMenu('sub','R.74-7 - 2 Sols')
          makeMenu('sub2','R.74 - Type avec date','collec.php?ref=74')
          makeMenu('sub2','R.75 - Flan Monneron','collec.php?ref=75')
          makeMenu('sub2','R.76 - Type sans date','collec.php?ref=76')
          makeMenu('sub2','R.77 - Flan Monneron','collec.php?ref=77')
        makeMenu('sub','R.78-80 - 6 Livres')
          makeMenu('sub2','R.78 - Type françoise','collec.php?ref=78')
          makeMenu('sub2','R.79 - Type française','collec.php?ref=79')
          makeMenu('sub2','R.80 - Type sans date','collec.php?ref=80')
	makeMenu('sub','R.81 - 24 Livres','collec.php?ref=81')
makeMenu('top','Variétés')
	makeMenu('sub','Royales','collec.php?ref=VRoy')
	makeMenu('sub','Constitutionnelles','collec.php?ref=VCons')
	makeMenu('sub','Conventionnelles','collec.php?ref=Vconv')
makeMenu('top','Nous contacter','contact.php')
makeMenu('top','Liens','construction.php','','End')









//Starting the menu
onload=SlideMenuInit;
//	MOD07: initialize rescrolling so menu stays in view when page scrolls
if(bw.ns4 || bw.ns6)
	//setTimeout("rescroll()", 500)
	rescroll();
  else
	document.body.onscroll=new Function("rescroll()");
