function SubmitForm1() {
				if  (document.contact.prenom.value.length < 2) {
           alert('Veuillez S.V.P. indiquer votre prénom.');
					 document.contact.prenom.focus();
		       return false;
         }

			   if  (document.contact.nom.value.length < 2) {
           alert('Veuillez S.V.P. indiquer votre nom.');
					 document.contact.nom.focus();
		       return false;
         }
		 
		 		 if  (document.contact.adresse.value.length < 2) {
           alert('Veuillez S.V.P. indiquer votre adresse.');
					 document.contact.adresse.focus();
		       return false;
         }	
		 		 if  (document.contact.cp.value.length < 2) {
           alert('Veuillez S.V.P. indiquer votre code postal.');
					 document.contact.cp.focus();
		       return false;
         }
		 		if  (document.contact.ville.value.length < 2) {
           alert('Veuillez S.V.P. indiquer votre ville.');
					 document.contact.ville.focus();
		       return false;
         }
	
		 		if  (document.contact.contact_option3.value.length < 2) {
           alert('Veuillez S.V.P. indiquer la période de votre séjour prévu dans le Gers.');
					 document.contact.contact_option3.focus();
		       return false;
         }
	
		 if (! CheckEmail()) {
					 document.contact.email.focus();
		       return false;
	       }
	    }
			 
function CheckEmail() {
				  if  (document.contact.email.value == '') {
            alert('Veuillez S.V.P. indiquer votre adresse email.');
		        return false;
					}
				  chaine = document.contact.email.value;
				  if (chaine.length >= 5) {
					  position = chaine.indexOf('@',1);
					  if (position > 0 && position < chaine.length) {
					  	domaine = chaine.substr(position+1);
						  adresse = chaine.substring(0, position);
						  position = domaine.indexOf('.',1);
						  if (position > 0 && position < domaine.length) {
						  	if (NoSymbol(adresse) && NoSymbol(domaine)) return true;
						  }
					  }
				  }
				  alert('Cette adresse email n\'est pas valide.');
		      return false;
				}
						
				function NoSymbol(chaine) {
					symbols = '()<>@,;:\\[] "';
					for (i = 0; i < chaine.length; i++) {
						if (symbols.indexOf(chaine.substr(i,1)) != -1) return false;
					}
					return true;
				}
				
				
				
function ChangeStatut(contact) {
if(contact.regagree.checked == true) {contact.validation.disabled = false }
if(contact.regagree.checked == false) {contact.validation.disabled = true }
}