function emailCheck(B){
	var A=new RegExp("^[0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,3}$");
	return A.test(B)
}

function verif_contact(nom){

	$retour=false;

	if (nom.expediteurNom.value.length>2 && nom.expediteurNom.value!='Votre nom')
		$retour=true;
	else{
		alert('Veuillez saisir votre nom');
		$retour=false;
		if (nom.expediteurNom.value=='Votre nom') nom.expediteurNom.value='';
		nom.expediteurNom.focus();
	}
	
	if ($retour){
		if (emailCheck(nom.expediteurEmail.value)) 
			$retour=true;
		else{
			alert('L\'adresse e-mail saisie est invalide');
			$retour=false;
			if (nom.expediteurEmail.value=='Votre adresse email') nom.expediteurEmail.value='';
			nom.expediteurEmail.focus();
		}
	}

	if ($retour){
		if (nom.cadre){
			if (nom.cadre.value!=0){
				$retour=true;
			}else{
				$retour=false;
				alert('Selectionnez l\'individu reconnu');
				nom.cadre.focus();
			}
		}
	}

	if ($retour){
		if (nom.corps.value.length>5){
			$retour=true;
		}else{
			alert('Veuillez completer le message');
			$retour=false;
			nom.corps.focus();
		}
	}

	return $retour;
}