<!--
// DetectNav
if (navigator.appName=="Microsoft Internet Explorer") nav="ie";
if (navigator.appName=="Netscape") nav="ns";
if (navigator.appName!="Microsoft Internet Explorer" && navigator.appName!="Netscape") nav="ot";
// PreloadImg
aide = new Image();
aide.src = "/_fr/img/aide.gif";
for (x=1;x<9;x++) {
 eval("rub"+x+"a = new Image();")
 eval("rub"+x+"a.src = '/_fr/img/rub"+x+"a.gif';")
 eval("rub"+x+"b = new Image();")
 eval("rub"+x+"b.src = '/_fr/img/rub"+x+"b.gif';")
}
for (x=1;x<9;x++) {
 eval("aide"+x+" = new Image();")
 eval("aide"+x+".src = '/_fr/img/aide"+x+".gif';")
}
for (x=1;x<8;x++) {
 eval("b"+x+"a = new Image();")
 eval("b"+x+"a.src = '/_fr/img/b"+x+"a.gif';")
 eval("b"+x+"b = new Image();")
 eval("b"+x+"b.src = '/_fr/img/b"+x+"b.gif';")
}
// RollMenu
function on(obj){
 clearTimeout(timerID);
 eval("document.rub"+obj+".src = rub"+obj+"b.src;")
 eval("document.aide.src = aide"+obj+".src;")
 return true;
}
function off(obj){
 eval("document.rub"+obj+".src = rub"+obj+"a.src;")
 timerID=setTimeout("off2()",600);
 return true;
}
function off2(){
 document.aide.src = aide.src;
 return true;
}
// RollAccueil
function mon(obj){
 eval("document.b"+obj+"a.src = b"+obj+"b.src;")
 return true;
}
function moff(obj){
 eval("document.b"+obj+"a.src = b"+obj+"a.src;")
 return true;
}
// OpenPhoto
function openw(page) {
 photo=window.open(page,"image","scrollbars=yes,resizable=yes,left=0,top=0");
}
// OpenVideo
function vdo(page) {
 var larg=255;
 var haut=220;
 var top=(screen.height-haut)/2;
 var left=(screen.width-larg)/2;
 video=window.open(page,"video","top="+top+",left="+left+",width="+larg+",height="+haut);
}
// ReloadNS4
function reloadPage(init) { 
 if (init==true) with (navigator) {
  if ((nav=="ns")&&(parseInt(appVersion)==4)) {
   document.pgW=innerWidth;
   document.pgH=innerHeight;
   onresize=reloadPage;
  }
 }
 else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();
}
// NoClicDroit
function NSclick(e) {
 if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) { 
  if (e.which == 3) {
   return false;
  }
 }
 if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=5) { 
  if (e.button == 2 || e.button == 3) {
   e.preventDefault();
   return false;
   }
 }
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) { 
 document.onmousedown=NSclick;
 document.captureEvents(Event.MOUSEDOWN);
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=5) { 
 document.onmouseup=NSclick;
}
if (navigator.appName=="Microsoft Internet Explorer") { 
 document.oncontextmenu = new Function("return false;")
}
// VerifMailingListe
function verifmail() {
	if (document.mailing.adresseemail.value!="") {
		test_email(document.mailing.adresseemail);
	}
	else {
		alert("L'email est obligatoire !")
		document.mailing.adresseemail.value="votre email ici !";
		document.mailing.adresseemail.focus();
		document.mailing.adresseemail.select()
	}
}
function test_email(objet) {
	if (objet.value.match(" ")==" ") {
		alert("Il y a un espace dans votre email !\nVeuillez corriger SVP.\n")
		objet.focus();
		objet.select();
	}
		else {
			if (objet.value!="") {
				with (objet) {
    			apos=value.indexOf("@");
		    	dotpos=value.lastIndexOf(".");
		    	lastpos=value.length-1;
    				if (apos<1 || dotpos-apos<2 || lastpos-dotpos>3 || lastpos-dotpos<2) {
						objet.focus();
						objet.select();
				 		alert("L'email indiqué semble invalide.\nVeuillez corriger SVP.\n");
						return false;
					}
			    	else {
							if (objet==document.mailing.adresseemail) {
								document.mailing.submit();
							}
							else {
			    			document.form.submit()
							}
					}
				}
			}
		}
}
// Kit
//ns4 = (document.layers)? true:false
//ie4 = (document.all)? true:false
function initkit() {
// if (ns4) block = document.blockDiv
// if (ie4) block = blockDiv.style
}
function showObject(obj) {
// if (ns4) obj.visibility = "show"
// else if (ie4) obj.visibility = "visible"
}
function hideObject(obj) {
// if (ns4) obj.visibility = "hide"
// else if (ie4) obj.visibility = "hidden"
}
function montre() {
// showObject(block)
}
function cache() {
// hideObject(block)
}
reloadPage(true);
timerID="";
//-->