function Validator(theForm){
  if (theForm.entite.value == ""){
    alert("Veuillez préciser votre entité.\nMerci");
    theForm.entite.focus();
    return (false);
  }
  if (theForm.service.value == ""){
    alert("Veuillez préciser votre service.\nMerci");
    theForm.service.focus();
    return (false);
  }
  if (theForm.nom.value == ""){
    alert("Veuillez préciser votre nom.\nMerci");
    theForm.nom.focus();
    return (false);
  }
  if (theForm.prenom.value == ""){
    alert("Veuillez préciser votre prénom.\nMerci");
    theForm.prenom.focus();
    return (false);
  }
  if (theForm.tel.value == ""){
    alert("Veuillez préciser votre numéro de téléphone.\nMerci");
    theForm.tel.focus();
    return (false);
  }
  if (theForm.fax.value == ""){
    alert("Veuillez préciser votre numéro de fax.\nMerci");
    theForm.fax.focus();
    return (false);
  }

	var a=theForm.mail.value;
	var test="" + a;
	for(var k=0; k < test.length-3;k++){
		var c = test.substring(k,k+1);
		if(c == "@"){
			for(var l=k; l<test.length-2;l++){
				var c = test.substring(l,l+1);
				if(c == "."){
					return true;
				}
			}
		}
	}
	alert("Saisissez une adresse e-mail correcte, merci");
	theForm.mail.focus();
	return false;
}