function ValideForm_fr() {
var valide = false;
var atsign=document.Contact.Email.value;

if (document.Contact.code.value.length <1) {
  window.alert("Code invalide !");
  document.Contact.code.select();
  document.Contact.code.focus();

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


function ValideForm_en() {
var valide = false;
var atsign=document.Contact.Email.value;

if (document.Contact.code.value.length <1) {
  window.alert("Invalid code !");
  document.Contact.code.select();
  document.Contact.code.focus();

}
else if (document.Contact.Nom.value.length <2) {
  window.alert("Invalid name !");
  document.Contact.Nom.select();
  document.Contact.Nom.focus();
}

else if (document.Contact.Prenom.value.length <2) {
  window.alert("Invalid first name !");
  document.Contact.Prenom.select();
  document.Contact.Prenom.focus();
} 

else if (document.Contact.Code_Postal.value.length <4) {
  window.alert("Invalid Zip code !");
  document.Contact.Code_Postal.select();
  document.Contact.Code_Postal.focus();
} 

else if (document.Contact.Ville.value.length <2) {
  window.alert("Invalid city !");
  document.Contact.Ville.select();
  document.Contact.Ville.focus();
} 


else if (document.Contact.Pays.options[document.Contact.Pays.selectedIndex].value == 'choix') {
  window.alert("Invalid country !");
 document.Contact.Pays.focus();
} 

else if ((atsign.indexOf('@') == -1) || (atsign == '')) {
 window.alert (atsign + ' is an invalid E-mail !');
 document.Contact.Email.focus();
 document.Contact.Email.select();
}


else {
valide = true;
document.Contact.envoyer.disabled=true;document.body.className = 'sablier';
}
	
return valide;
}
// function ValideForm_en()


function ValideForm_es() {
var valide = false;
var atsign=document.Contact.Email.value;

if (document.Contact.code.value.length <1) {
  window.alert("Invalido codigo !");
  document.Contact.code.select();
  document.Contact.code.focus();

}
else if (document.Contact.Nom.value.length <2) {
  window.alert("Invalido apellido !");
  document.Contact.Nom.select();
  document.Contact.Nom.focus();
}

else if (document.Contact.Prenom.value.length <2) {
  window.alert("Invalido nombre !");
  document.Contact.Prenom.select();
  document.Contact.Prenom.focus();
} 

else if (document.Contact.Code_Postal.value.length <4) {
  window.alert("Invalido codigo postal !");
  document.Contact.Code_Postal.select();
  document.Contact.Code_Postal.focus();
} 

else if (document.Contact.Ville.value.length <2) {
  window.alert("Invalido ciudad !");
  document.Contact.Ville.select();
  document.Contact.Ville.focus();
} 


else if (document.Contact.Pays.options[document.Contact.Pays.selectedIndex].value == 'choix') {
  window.alert("Invalido país !");
 document.Contact.Pays.focus();
} 

else if ((atsign.indexOf('@') == -1) || (atsign == '')) {
 window.alert (atsign + ' Invalido E-mail !');
 document.Contact.Email.focus();
 document.Contact.Email.select();
}


else {
valide = true;
document.Contact.envoyer.disabled=true;document.body.className = 'sablier';
}
	
return valide;
}
// function ValideForm_es()


function ValideForm_de() {
var valide = false;
var atsign=document.Contact.Email.value;

if (document.Contact.code.value.length <1) {
  window.alert("Ungultiger Code !");
  document.Contact.code.select();
  document.Contact.code.focus();

}
else if (document.Contact.Nom.value.length <2) {
  window.alert("Ungultiger Name !");
  document.Contact.Nom.select();
  document.Contact.Nom.focus();
}

else if (document.Contact.Prenom.value.length <2) {
  window.alert("Ungultiger Vorname !");
  document.Contact.Prenom.select();
  document.Contact.Prenom.focus();
} 

else if (document.Contact.Code_Postal.value.length <4) {
  window.alert("Ungultiger PLZ !");
  document.Contact.Code_Postal.select();
  document.Contact.Code_Postal.focus();
} 

else if (document.Contact.Ville.value.length <2) {
  window.alert("Ungultiger Stadt !");
  document.Contact.Ville.select();
  document.Contact.Ville.focus();
} 


else if (document.Contact.Pays.options[document.Contact.Pays.selectedIndex].value == 'choix') {
  window.alert("Ungultiger Land !");
 document.Contact.Pays.focus();
} 

else if ((atsign.indexOf('@') == -1) || (atsign == '')) {
 window.alert (atsign + ' Ungultiger E-mail !');
 document.Contact.Email.focus();
 document.Contact.Email.select();
}


else {
valide = true;
document.Contact.envoyer.disabled=true;document.body.className = 'sablier';
}
	
return valide;
}
// function ValideForm_de()


