function ValideForm() 
{
	var valide = false;
	var atsign=document.Contact.email.value;
	
	
	if (document.Contact.nom.value.length <2) {
	  window.alert("Nom invalide !");
	  document.Contact.nom.select();
	  document.Contact.nom.focus();
	} 
	
	else if (document.Contact.prenom.value.length <2) {
	  window.alert("Prenom invalide !");
	  document.Contact.prenom.select();
	  document.Contact.prenom.focus();
	} 
	
	else if (document.Contact.adresse.value.length <2) {
	  window.alert("Adresse invalide !");
	  document.Contact.adresse.select();
	  document.Contact.adresse.focus();
	} 
	
	else if (document.Contact.cp.value.length <4) {
	  window.alert("Code postal invalide !");
	  document.Contact.cp.select();
	  document.Contact.cp.focus();
	} 
	
	else if (document.Contact.ville.value.length <2) {
	  window.alert("Ville invalide !");
	  document.Contact.ville.select();
	  document.Contact.ville.focus();
	} 
	
	else if (document.Contact.pays.options[document.Contact.pays.selectedIndex].value == 'choix') {
	  window.alert("Pays invalide !");
	 document.Contact.pays.focus();
	} 
	
	else if ((atsign.indexOf('@') == -1) || (atsign == '')) {
	 window.alert (atsign + ' n\'est pas une adresse e-mail valide !');
	 document.Contact.email.focus();
	 document.Contact.email.select();
	}	
	
	else {
	valide = true;
	document.Contact.envoyer.disabled=true;document.body.className = 'sablier';
	}
	
	if(valide == true)
	{
		document.Contact.submit();
	}
}
// function ValideForm()

// pop up
function popupcentree(page,largeur,hauteur,options) {     
	var top=(screen.height-hauteur)/2;     
	var left=(screen.width-largeur)/2;     
	window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options); } 
