function VerifEtude(){
	if (document.form1.nom.value==""){
		alert("Veuillez remplir le champs nom");
		document.form1.nom.focus();
	}
	else if (document.form1.prenom.value==""){
		alert("Veuillez remplir le champs prénom");
		document.form1.prenom.focus();
	}
	else if (document.form1.pro[0].checked==true & document.form1.societe.value==""){
		alert("Veuillez entrer le nom de votre société");
		document.form1.societe.focus();
	}
	else if (document.form1.pro[0].checked==true & document.form1.secteur_activite.value==""){
		alert("Veuillez entrer le secteur d'activite de votre société");
		document.form1.secteur_activite.focus();
	}
	else if (document.form1.adresse.value==""){
		alert("Veuillez entrer votre adresse");
		document.form1.adresse.focus();
	}
	else if (document.form1.cp.value==""){
		alert("Veuillez entrer votre code postal");
		document.form1.cp.focus();
	}
	else if (document.form1.titre_question.value==""){
		alert("Veuillez entrer le titre de votre question");
		document.form1.titre_question.focus();
	}
	else if (document.form1.contenu_question.value==""){
		alert("Veuillez entrer votre question");
		document.form1.contenu_question.focus();
	}
	else if (document.form1.ville.value==""){
		alert("Veuillez entrer votre ville");
		document.form1.ville.focus();
	}
	else if (document.form1.mail.value==""){
		alert("Veuillez entrer votre adress e-mail");
		document.form1.mail.focus();
	}else{
		document.form1.method = "post";
		document.form1.action = "documentation_valide.php";
		document.form1.submit();
	}
}
	
function VerifNewsletter(){
	if (document.form1.nom.value==""){
		alert("Veuillez remplir le champs nom");
		document.form1.nom.focus();
	}
	else if (document.form1.prenom.value==""){
		alert("Veuillez remplir le champs prénom");
		document.form1.prenom.focus();
	}
	else if (document.form1.pro[0].checked==true & document.form1.societe.value==""){
		alert("Veuillez entrer le nom de votre société");
		document.form1.societe.focus();
	}
	else if (document.form1.mail.value==""){
		alert("Veuillez entrer votre adress e-mail");
		document.form1.mail.focus();
	}else{
		document.form1.method = "post";
		document.form1.action = "newsletter.php";
		document.form1.submit();
	}
}
function VerifEmail(){
	if (document.form1.nom.value==""){
		alert("Veuillez remplir le champs nom");
		document.form1.nom.focus();
	}
	else if (document.form1.prenom.value==""){
		alert("Veuillez remplir le champs prénom");
		document.form1.prenom.focus();
	}
	else if (document.form1.pro[0].checked==true & document.form1.societe.value==""){
		alert("Veuillez entrer le nom de votre société");
		document.form1.societe.focus();
	}
	else if (document.form1.mail.value==""){
		alert("Veuillez entrer votre adress e-mail");
		document.form1.mail.focus();
	}
	else if (document.form1.objet.value==""){
		alert("Veuillez spécifier l'objet de votre e-mail");
		document.form1.objet.focus();
	}
	else if (document.form1.contenu.value==""){
		alert("Veuillez remplir le contenu de votre e-mail");
		document.form1.contenu.focus();
	}else{
		document.form1.method = "post";
		document.form1.action = "contact.php#contact";
		document.form1.submit();
	}
}
function VerifNlleQuestion(){
	if (document.form1.titre_question.value==""){
		alert("Veuillez entrer le titre de votre question");
		document.form1.titre_question.focus();
	}
	else if (document.form1.contenu_question.value==""){
		alert("Veuillez entrer votre question");
		document.form1.contenu_question.focus();
	}else{
		document.form1.method = "post";
		document.form1.action = "acces_documentation_valide.php";
		document.form1.submit();
	}
}
