//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=135	//The top placement of the menu
//menuyAll=80		//The top placement of the menu
menuy=230		//The top placement of the menu.
menux=6			//The left placement of the menu

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

//Menu 0 
makeMenu('top','Photos')
	makeMenu('sub','Photos de l ARR','Photos/fotoarr/thumb.html')
	
	
//Menu 1
makeMenu('top','Options')
	makeMenu('sub','Cours Proposés','cours.html')
	makeMenu('sub','Grilles 1er degré','grilles-1a.html')
	makeMenu('sub','Grilles 2ème degré','grilles-2a.html')
	makeMenu('sub','Grilles 3ème degré','grilles-3.html')
	makeMenu('sub','Complémentaires','compl1.html')

//Menu 2    
makeMenu('top','Contact')
  makeMenu('sub','Direction','direct.html')
  makeMenu('sub','Secrétariat','secreta.html')
  makeMenu('sub','PMS','pms.html')

//Menu 3
makeMenu('top','Inscriptions')
  makeMenu('sub','Informations','inscri.html')
  makeMenu('sub','Frais & Matériel','frais.html')

//Menu 4
makeMenu('top','Documents')
  makeMenu('sub','Règlement Ecole','doc/ROI2011.pdf')
  makeMenu('sub','Projet Etablissement','doc/projeteta.pdf')
  makeMenu('sub','Circulaire 3743','doc/circu3743.pdf')


//Menu 5
makeMenu('top','Localisation')
  makeMenu('sub','Plans','plan.html')
  makeMenu('sub','Ligne de Bus','bus1.html')
  makeMenu('sub','Ligne de Train','train.html')

//Menu 6  
makeMenu('top','Internat')
  makeMenu('sub','Informations','internat.html',"",'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()");

