// JavaScript Document
function fenetreCent(url,nom,largeur,hauteur,options) {
var haut=(screen.height-hauteur)/2;
var Gauche=(screen.width-largeur)/2;
window.open(url,nom,"top="+haut+",left="+Gauche+",width="+largeur+",height="+hauteur+","+options);
}

function checkFieldsForm1() {
	if (document.form1.nom.value.length == 0) 	{
		alert('Veuillez saisir votre nom svp.');
		document.form1.nom.focus();
		return false;
	}
	if (document.form1.prenom.value.length == 0) 	{
		alert('Veuillez saisir votre prenom svp.');
		document.form1.prenom.focus();
		return false;
	}
	if (document.form1.adresse.value.length == 0) 	{
		alert('Veuillez saisir votre adresse svp.');
		document.form1.adresse.focus();
		return false;
	}
	return true;
}
function checkFieldsForm2() {
	if (document.form2.nom.value.length == 0) 	{
		alert('Veuillez saisir votre nom svp.');
		document.form2.nom.focus();
		return false;
	}
	if (document.form2.prenom.value.length == 0) 	{
		alert('Veuillez saisir votre prenom svp.');
		document.form2.prenom.focus();
		return false;
	}
	if (document.form2.adresse.value.length == 0) 	{
		alert('Veuillez saisir votre adresse svp.');
		document.form2.adresse.focus();
		return false;
	}
		if (document.form2.tel.value.length == 0) 	{
		alert('Veuillez saisir votre numero de téléphone.');
		document.form2.tel.focus();
		return false;
	}

	return true;
}
function checkFieldsForm3() {
	if (document.form3.nom.value.length == 0) 	{
		alert('Veuillez saisir votre nom svp.');
		document.form3.nom.focus();
		return false;
	}
	if (document.form3.prenom.value.length == 0) 	{
		alert('Veuillez saisir votre prenom svp.');
		document.form3.prenom.focus();
		return false;
	}
	if (document.form3.adresse.value.length == 0) 	{
		alert('Veuillez saisir votre adresse svp.');
		document.form3.adresse.focus();
		return false;
	}
		if (document.form3.question.value.length == 0) 	{
		alert('Veuillez saisir une question svp.');
		document.form3.question.focus();
		return false;
	}

	return true;
}





