function valid_adhesion(){
	//allowed = document.getElementById("otorisation").checked;
	email = document.getElementById("email");
	nom = document.getElementById("nom");
	cp = document.getElementById("code_postal");
	
		if(trim_mystring(nom.value)!="")
		{
			if(trim_mystring(cp.value)!="")
			{
				if(isInteger(cp.value))
				{
					if(email_valide(email.value))
					{
					document.forms["form_contact_accueil"].submit(); 
						//if(allowed==true) document.forms["form_contact_accueil"].submit();    		
						//else alert('Vous devez accepter que votre nom soit communiqué aux candidats.');
					}
					else
					{
						email.focus();
						return;
					}
				}
				else
				{
					alert('Votre code postal n\'est pas au bon format.');
					cp.focus();	
					return;
				}
			}
			else
			{
				alert('Vous devez saisir votre code postal.');
				cp.focus();	
				return;
			}
		}
		else
		{
			alert('Vous devez saisir votre nom.');
			nom.focus();
			return;
		}
}