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.CodePostal.value.length <4) {
  window.alert("Code postal invalide !");
  document.Contact.CodePostal.select();
  document.Contact.CodePostal.focus();
} 

else if (document.Contact.Commune.value.length <2) {
  window.alert("Commune invalide !");
  document.Contact.Commune.select();
  document.Contact.Commune.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';
}
	
return valide;
}
// function ValideForm()
