//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=230			//The top placement of the menu.
menux=15		//The left placement of the menu

level0_regular=""
level0_round=""
level1_regular=""
level1_round=""
level1_sub=""
level1_sub_round=""
level1_round2=""
level2_regular=""
level2_round=""
level1_regular_hi=""
level1_round_hi=""
level2_regular_hi=""
level2_round_hi=""
level0_regular_hi=""
level0_round_hi=""
level0_sub=""
//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)')

//Menu 0 
makeMenu('top','Accueil','index.php')
	

//Menu 1
makeMenu('top','Actualité')
	makeMenu('sub','Agenda','agenda.php')
	makeMenu('sub','Brèves','breves.php')
	
//Menu 2    
makeMenu('top','La fédération','federation.php')

//Menu 3
//makeMenu('top','Documents','docsfede.php')

makeMenu('top','Adhésion','http://www.pourlafrance.fr/adhesions.php','target=blank','')
  
  //Menu 5
makeMenu('top','Nous contacter','contact.php')

    //Menu 6
makeMenu('top','Site Sud-Est','http://www.mpf-sudest.org','target=blank')

    //Menu 6
makeMenu('top','')

    //Menu 6
makeMenu('top','Intranet','intranet/index.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()");
