        
            
				var popup   
   
				function viewimage(page, hauteur, largeur ) 
				{   
 
					if (popup != null) { popup.close() } 

					var settings = "scrollbars=no,height="+hauteur+",width="+largeur+",innerheight="+hauteur+",innerwidth="+largeur;
					popup = window.open(page,"popup",settings);
					popup.window.focus();
				}

				
					img1 = new Image();
					img1.src = "/image/menu-on-fr-left-1.gif";
				
					img2 = new Image();
					img2.src = "/image/menu-on-fr-left-2.gif";
				
					img3 = new Image();
					img3.src = "/image/menu-on-fr-left-3.gif";
				
					img4 = new Image();
					img4.src = "/image/menu-on-fr-left-4.gif";
				
					img5 = new Image();
					img5.src = "/image/menu-on-fr-left-5.gif";
				
					img6 = new Image();
					img6.src = "/image/menu-on-fr-left-6.gif";
				
   
    



	// Email Validation. Written by PerlScriptsJavaScripts.com

function check_email(e) {
ok = "1234567890qwertyuiop[]asdfghjklzxcvbnm.@-_QWERTYUIOPASDFGHJKLZXCVBNM";

for(i=0; i < e.length ;i++){
if(ok.indexOf(e.charAt(i))<0){   
return (false);
}	 
} 

if (document.images) {
re = /(@.*@)|(\.\.)|(^\.)|(^@)|(@$)|(\.$)|(@\.)/;
re_two = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
if (!e.match(re) && e.match(re_two)) {
return (-1);		
} 

}

}


function check_form(f) { // f is the form (passed using the this keyword)

// check the first email address ( the exclamation means "not" )
if(!check_email(f.from.value)){
alert("Adresse email invalide");
f.from.focus(); 
// if the browser is Netscape 6 or IE
if(document.all || document.getElementByID){
// change the color of text field
f.from.style.background = "yellow";
}
// make sure the form is not submitted
return false;
}

}
  
function check_empty(fi,lb) 
	{
	
	if(fi.value=='')
		{
		alert(lb+" manquant");
		fi.focus(); 
		if(document.all || document.getElementByID)
			{
			// change the color of text field
			fi.style.background = "yellow";
			}
		return false;  
		}
	else
		{
		return true; 
		}
	}


		


