function VerifMail(){
	var nom = document.getElementById("nom");
	var prenom = document.getElementById("prenom");
	var email = document.getElementById("email").value;
	email = email.replace(/\'/,"")
	email = email.replace(/\"/,"")
	email = email.replace(/\</,"")
	email = email.replace(/\>/,"")
	email = email.replace(/\&/,"")

	if ((email.indexOf('@',0)==-1) || (email.indexOf('.',0)==-1)){
		alert("Votre adresse email est incorrecte.");
		return false;
	}
	else{
		if (nom.value==""){
			alert("Votre nom est obligatoire.");
			return false;
		}
		else if (prenom.value==""){
			alert("Votre pr&eacute;nom est obligatoire.");
			return false;
		}
		else { return true; }
	}
}

function VerifMail2(){
  	var email = document.getElementById("email").value;
	email = email.replace(/\'/,"")
	email = email.replace(/\"/,"")
	email = email.replace(/\</,"")
	email = email.replace(/\>/,"")
	email = email.replace(/\&/,"")
	if ((email.indexOf('@',0)==-1) || (email.indexOf('.',0)==-1)){
		alert("Votre adresse email est incorrecte.");
		return false;
	}
	else { return true; }
}

function VerifMail3(email_to){
  	var email_to = document.getElementById(email_to).value;
	email_to = email_to.replace(/\'/,"")
	email_to = email_to.replace(/\"/,"")
	email_to = email_to.replace(/\</,"")
	email_to = email_to.replace(/\>/,"")
	email_to = email_to.replace(/\&/,"")
	if ((email_to.indexOf('@',0)==-1) || (email_to.indexOf('.',0)==-1)){
		alert("L\'adresse e-mail de votre correspondant est incorrecte.");
		return false;
	}
	else { return true; }
}
