//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=30			//The top placement of the menu.
menux=0			//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','Portrait')
	makeMenu('sub','Mot du Président','../portrait/mot_du_president/mot_president_fr.htm','mainFrame','')
	makeMenu('sub','Qui sommes-nous?','../portrait/qui_sommes_nous/qui_sommes_nous_fr.htm','mainFrame','')
	makeMenu('sub','Organisation','../portrait/organisation/organisation_fr.htm','mainFrame','')
	makeMenu('sub','Commission','../membres/liste_membres.htm','mainFrame','')
	makeMenu('sub','Statuts','../portrait/statuts/statuts_fr.htm','mainFrame','')
	makeMenu('sub','Comptes','..//portrait/comptes/comptes.htm','mainFrame','')
	makeMenu('sub','Historique','../portrait/historique/historique_fr.htm','mainFrame','')

//Menu 1
makeMenu('top','News','../News/news.htm','mainFrame','')
  	
//Menu 2    
makeMenu('top','Membres')
  makeMenu('sub','Cantons','../liste_cantons/cantons_membres.htm','mainFrame','')
  makeMenu('sub','Commission','../liste_cantons/membres_actuels/membres_comm.htm','mainFrame','')
  makeMenu('sub','Présidents','../liste_cantons/presidents/presidents_commission.htm','mainFrame','')
  makeMenu('sub','Anciens membres','../liste_cantons/anciens_membres/anciens_membres_commission.htm','mainFrame','')
  
//Menu 3
makeMenu('top','Consultations')
  makeMenu('sub','Consult. récentes','../consultations/recentes/recentes_fr.htm','mainFrame','')
  makeMenu('sub','Archives','../consultations/archives/archives_fr.htm','mainFrame','')

//Menu 4
makeMenu('top','Infos ')
  makeMenu('sub','Publications','../publications/info/info_fr_it.htm','mainFrame','')

//Menu 5
makeMenu('top','SCI')
  makeMenu('sub','SCI, brochure etc.','../publications/SCI-IKS/sci_fr.htm','mainFrame','')

 //Menu 6
makeMenu('top','Introd. MCH2')
  makeMenu('sub','Recommand. div.','../publications/intro_mch2/intro_mch2_fr.htm','mainFrame','')
  
//Menu 7
makeMenu('top','Activités')
  makeMenu('sub','Activités','../activites/activites/activites.htm','mainFrame','')
  makeMenu('sub','Calendrier séances','../activites/calendrier_seances/calendrier_seances.htm','mainFrame','')
       
//Menu 8  
makeMenu('top','Contact')
  makeMenu('sub','Membres','../membres/liste_membres.htm','mainFrame','')
  makeMenu('sub','Contact','../contact/contact.htm','mainFrame','')
  
//Menu 9
makeMenu('top','Liens')
  makeMenu('sub','Confédération','../liens/liens_confederation.htm','mainFrame','')
  makeMenu('sub','Cantons','../liens/liens_cantons.htm','mainFrame','')
  makeMenu('sub','Services communes','../liens/liens_communes.htm','mainFrame','')
  makeMenu('sub','Associations diverses','../liens/liens_associations.htm','mainFrame','')
  makeMenu('sub','Autres','../liens/liens_autres.htm','mainFrame','')
  
 //Menu 10
makeMenu('top','Publ. div.')
 makeMenu('sub','PV de la Conf.','../publications/pv/pv_fr.htm','mainFrame','')
 makeMenu('sub','Autres publ.','../publications/autres/autres_fr1.htm','mainFrame','')
//Menu 11
makeMenu('top','Plan du Site','../sitemap/sitemap_fr.htm','mainFrame','')

//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()");

