function lien(url){
	var fen;
	//var url = url + ".htm";
	fen = window.open(url,'chargement','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=700,height=600');
}

function Validator(theForm){
  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.Adresse.value == ""){
    alert("Veuillez préciser votre adresse.\nMerci");
    theForm.Adresse.focus();
    return (false);
  }
  if (theForm.codepostal.value == ""){
    alert("Veuillez préciser votre code postal.\nMerci");
    theForm.codepostal.focus();
    return (false);
  }
  if (theForm.Ville.value == ""){
    alert("Veuillez préciser votre ville.\nMerci");
    theForm.Ville.focus();
    return (false);
  }
  if (theForm.Telephone.value == ""){
    alert("Veuillez préciser votre numéro de téléphone.\nMerci");
    theForm.Telephone.focus();
    return (false);
  }
	if (theForm.Email.value != "")
  {	
	var maReg = new RegExp ( "^\\w[\\w+\.\-]*@[\\w\-]+\.\\w[\\w+\.\-]*\\w$", "gi" ) ;
  	var mail=theForm.Email.value;
  	if ( mail.search( maReg ) == -1 )
  	{
  		alert("Saisissez une adresse e-mail correcte.\nMerci.");
		theForm.Email.focus();
		return(false);
  	}
  }
}

