
function validation() {
    if (document.formulaire.nom.value.length < 2) {
	    window.alert("Vous n'avez pas spécifié votre nom.");
		return false;
	}
    if (document.formulaire.prenom.value.length < 2) {
	    window.alert("Quel est votre votre prénom ?");
		return false;
	}
    if (document.formulaire.adresse.value.length < 3) {
	    window.alert("Vous avez omis de noter votre adresse.");
		return false;
	}
    if (document.formulaire.ville.value.length < 2) {
	    window.alert("Quel est le nom de votre ville ?");
		return false;
	}
    if (document.formulaire.codepostal.value.length < 5) {
	    window.alert("Vous n'avez pas noté votre code postal.");
		return false;
	}
    if (document.formulaire.telephone.value.length < 10) {
	    window.alert("Veuillez entrer votre numéro de téléphone.");
		return false;
	}
    if (document.formulaire.mail.value.length < 5) {
	    window.alert("N'oubliez pas de nous laisser votre e-mail.");
		return false;
	}
	return true;
}
