function testEngine(){
	this.dom= (document.getElementById)
	this.op5= (window.opera && this.dom)
	this.ie4= (document.all && !this.dom)
	this.ie5= (navigator.userAgent.indexOf("MSIE 5")>-1 && this.dom && !this.op5)
	this.ie6= (navigator.userAgent.indexOf("MSIE 6")>-1 && this.dom && !this.op5)
	this.ie7= (navigator.userAgent.indexOf("MSIE 7")>-1 && this.dom && !this.op5)
	this.ie8= (navigator.userAgent.indexOf("MSIE 8")>-1 && this.dom && !this.op5)
	this.ie=  (this.ie4 || this.ie5 || this.ie6 || this.ie7 || this.ie8)
	this.ns4= (document.layers && !this.dom)
	this.ns6= (!document.all && this.dom && !this.op5)
	this.ko2= (navigator.userAgent.indexOf("Konqueror")>-1 && this.dom)
	this.mac= (navigator.userAgent.indexOf("Mac")>-1)
	this.win= (navigator.userAgent.indexOf("Windows")>-1)
	this.oldbox= (this.ns4 || (this.ie&&this.win&&document.compatMode!="CSS1Compat") || (this.ie5&&this.mac&&document.doctype&&document.doctype.name.indexOf(".dtd")==-1) )
	this.cssbox= (!this.oldbox)
	this.ok=  (this.ie4 || this.ie5 || this.ie6 || this.ie7 || this.ie8 || this.ns4 || this.ns6 || this.op5 || this.ko2)
}
br= new testEngine()

menu0 = new StyleMenu("menu0")

menu0.positionLinks = 1;		
menu0.positionInvert = 0;		
menu0.positionSubs = 1;			// left
menu0.stayOpen = 0;				
menu0.backgroundbar = 0;		
menu0.hideFloaters = 0;			
menu0.positionType = 0;			

menu0.menuXOffset = 322;		// position
menu0.menuYOffset = 2;		// top
menu0.subXOffset = -15;			
menu0.subYOffset = 1;			

menu0.setBackgroundbar(2, 3, 1, "solid", "#000000", "#000000")

menu0.setSubs(2, 3, 1, "solid", "#1A3341")

menu0.setMainLinkboxes(2, 3, 0, "solid", "#1A3341", "", "", "", "13px");

menu0.setSubLinkboxes(0, 0, 0, "solid", "#D5CBAB", "#235e6f", "#000000", "#5a91a2", "16px");


menu0.mlinkTextstyle =			'color:#ffffff; text-decoration:none; font-family:verdana,arial,helvetica,sans-serif; font-size:10px; '
menu0.mlinkRolloverTextstyle =	'color:#5A91A2; text-decoration:none; font-family:verdana,arial,helvetica,sans-serif; font-size:10px; '
menu0.slinkTextstyle =			'color:#d3dfe2; text-decoration:none; font-family:verdana,arial,helvetica,sans-serif; font-size:9px;'
menu0.slinkRolloverTextstyle =	'color:#000000; text-decoration:none; font-family:verdana,arial,helvetica,sans-serif; font-size:9px;'

menu0.addmain ("#", "&nbsp;INFRASTRUCTURES&nbsp;&nbsp; | &nbsp;", "_self", null, 151)
menu0.addlink ("html/infra_piscine.html", "&nbsp;&nbsp;Piscine", "_self")
menu0.addlink ("html/infra_hall.html", "&nbsp;&nbsp;Hall omnisports  ", "_self")
menu0.addlink ("html/infra_arts.html", "&nbsp;&nbsp;Salle d'arts martiaux", "_self")
menu0.addlink ("html/infra_salles.html", "&nbsp;&nbsp;Salle de condition physique&nbsp;", "_self")
menu0.addlink ("html/infra_plaine.html", "&nbsp;&nbsp;Plaine de jeux", "_self")
menu0.addlink ("html/infra_mini.html", "&nbsp;&nbsp;Mini-golf", "_self")
menu0.addlink ("html/infra_cafet.html", "&nbsp;&nbsp;Cafetaria", "_self")
menu0.addlink ("#", "------------------------------", "_self")
menu0.addlink ("html/infra_etangs.html", "&nbsp;&nbsp;Etangs - pêche", "_self")
menu0.addlink ("html/infra_foot.html", "&nbsp;&nbsp;Stade de football", "_self")
menu0.addlink ("html/infra_tennis.html", "&nbsp;&nbsp;Tennis", "_self")

menu0.addmain ("#", "CLUBS&nbsp; | &nbsp;&nbsp;", "_self", null, 170)
menu0.addlink ("#", "<span class=sign><b>&raquo; Piscine :</b></span>", "_self")
menu0.addlink ("html/clubs_plongee.html", "&nbsp;&nbsp;Plongée", "_self")
menu0.addlink ("html/natation.html", "&nbsp;&nbsp;Natation", "_self")
menu0.addlink ("html/nage.html", "&nbsp;&nbsp;Nage Synchronisée ", "_self")
menu0.addlink ("html/sauve.html", "&nbsp;&nbsp;Sauvetage ", "_self")
menu0.addlink ("html/aqua.html", "&nbsp;&nbsp;AquaGym Fitness Jogging ", "_self")


menu0.addlink ("#", "<span class=sign><b>&raquo; Hall omnisports :</b></span>", "_self")
menu0.addlink ("html/minifoot.html", "&nbsp;&nbsp;Mini-Foot", "_self")
menu0.addlink ("html/basket.html", "&nbsp;&nbsp;Basket-Ball", "_self")
menu0.addlink ("html/volley.html", "&nbsp;&nbsp;Volley-Ball", "_self")
menu0.addlink ("html/tennistable.html", "&nbsp;&nbsp;Tennis de table", "_self")
menu0.addlink ("html/badminton.html", "&nbsp;&nbsp;Badminton", "_self")


menu0.addlink ("#", "<span class=sign><b>&raquo; Arts Martiaux :</b></span>", "_self")
menu0.addlink ("html/karate.html", "&nbsp;&nbsp;Karaté", "_self")
menu0.addlink ("html/judo.html", "&nbsp;&nbsp;Judo", "_self")
menu0.addlink ("html/aikido.html", "&nbsp;&nbsp;Aikido", "_self")
menu0.addlink ("html/selfdef.html", "&nbsp;&nbsp;Krav Maga", "_self")

menu0.addlink ("#", "<span class=sign><b>&raquo; Activités diverses :</b></span>", "_self")
menu0.addlink ("html/conphy.html", "&nbsp;&nbsp;Condition physique", "_self")
menu0.addlink ("html/mutisports.html", "&nbsp;&nbsp;Multisports", "_self")
menu0.addlink ("html/raviva.html", "&nbsp;&nbsp;Raviva", "_self")
menu0.addlink ("html/atletisme.html", "&nbsp;&nbsp;Athlétisme", "_self")
menu0.addlink ("html/tennis.html", "&nbsp;&nbsp;Tennis", "_self")
menu0.addlink ("html/football.html", "&nbsp;&nbsp;Football", "_self")
menu0.addlink ("html/cyclisme.html", "&nbsp;&nbsp;Cyclisme", "_self")
menu0.addlink ("html/sport access.html", "&nbsp;&nbsp;Sport Access", "_self")
menu0.addlink ("html/sport senior.html", "&nbsp;&nbsp;Sport Senior", "_self")



menu0.addmain ("#", "INFOS&nbsp; | &nbsp;&nbsp;", "_self", null, 150)
menu0.addlink ("#", "<span class=sign><b>&raquo; Horaires & planning :</b></span>")
menu0.addlink ("html/horaire_pisc.html", "&nbsp;&nbsp;Piscine", "_self")
menu0.addlink ("html/horaire_salle.html", "&nbsp;&nbsp;Hall omnisports", "_self")
menu0.addlink ("html/horaire_artsmart.html", "&nbsp;&nbsp;Arts martiaux", "_self")
menu0.addlink ("html/horaire_condition.html", "&nbsp;&nbsp;Condition physique", "_self")

menu0.addlink ("#", "<span class=sign><b>&raquo; Tarifs :</b></span>", "_self")
menu0.addlink ("html/tarif_piscine.html", "&nbsp;&nbsp;Piscine", "_self")
menu0.addlink ("html/tarif_condition.html", "&nbsp;&nbsp;Condition physique", "_self")

menu0.addlink ("#", "<span class=sign><b>&raquo; Renseignements :</b></span>", "_self")
menu0.addlink ("html/ren_pisc.html", "&nbsp;&nbsp;Piscine", "_self")
menu0.addlink ("html/ren_salle.html", "&nbsp;&nbsp;Hall omnisports", "_self")
menu0.addlink ("html/ren_artsmart.html", "&nbsp;&nbsp;Arts martiaux", "_self")
menu0.addlink ("html/ren_activext.html", "&nbsp;&nbsp;Activités diverses", "_self")
menu0.addlink ("html/team.html", "&nbsp;&nbsp;A votre service", "_self")


menu0.addmain ("#", "NOUVEAUTES&nbsp; | &nbsp;&nbsp;", "_self", null, 160)
menu0.addlink ("agenda/month.php", "&nbsp;&nbsp;Programme d'activités", "_new")
menu0.addlink ("#", "<span class=sign><b>&raquo; Photos d'évènements :</b></span>")
menu0.addlink ("html/jourecole.html", "&nbsp;&nbsp;Journée des écoles", "_self")
menu0.addlink ("html/abc.html", "&nbsp;&nbsp;ABC Waremme Champion", "_self")
menu0.addlink ("html/vbc.html", "&nbsp;&nbsp;Waremme V.B.C Présentation", "_self")
menu0.addlink ("html/Trophcom.html", "&nbsp;&nbsp;Trophée des Communes", "_self")
menu0.addlink ("html/aquafitness.html", "&nbsp;&nbsp;Aqua Fitness", "_self")
menu0.addlink ("html/street.html", "&nbsp;&nbsp;StreetBasket", "_self")
menu0.addlink ("html/piscinefete.html", "&nbsp;&nbsp;Piscine en fête", "_self")
menu0.addlink ("html/seniors.html", "&nbsp;&nbsp;Sport Senior", "_self")
menu0.addlink ("html/access.html", "&nbsp;&nbsp;Sport Access", "_self")
menu0.addlink ("html/bal.html", "&nbsp;&nbsp;Bal du Sport", "_self")
menu0.addlink ("html/stage paques.html", "&nbsp;&nbsp;Stages de Pâques", "_self")
menu0.addlink ("html/stage waremmesport.html", "&nbsp;&nbsp;Stages Waremmesport", "_self")


menu0.addmain ("#", "&nbsp;LIENS&nbsp;", "_self", null, 90)
menu0.addlink ("html/liens.html", "&nbsp;&nbsp;Liens", "_self")




// If the browser is ok, it writes the html to the page and initiates the menu onload.
// Do not put these two lines in an external js file.
if (br.ok){
	writeStyleMenus();
	onload = initStyleMenus;
}
//-->
