		function checkacontactform() {
				var modele = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]{2,4}$/;
				var err = "Erreur(s) :\n";
				var email = document.getElementById('resp_mail').value;
				if (!modele.test(email))
					err+=" - votre adresse email invalide\n";
				if (document.getElementById('msg').value == '')
					err+=" - votre message est vide\n";
				if (err == "Erreur(s) :\n")
					return true;
				alert(err);
				return false;
		}

		document.write("<style>.a12gris{font-family: Bookman;font-size: 13px;color: #333333;}.champ1{background-color:#FFFFFF;border:1px solid #A8BDD8;font-family: Arial;font-size: 11px;color: 0;}</style>");
		document.write("<form name='acontact' method='post' action='http://tools.idoo.com/contact/send_mail.php' OnSubmit='return checkacontactform();'>");
		document.write("<input type='hidden' value='epidemais' name='log'>");
		document.write("<input type='hidden' value='4297' name='id'>");
		document.write("<input type='hidden' value='"+document.location.href+"' name='return_url'>");
		document.write("<table cellspacing='5' cellpadding='0' style='border:3px solid #3333ff;'>");
		document.write("<tr>");
		document.write("<td class='a12gris'>Votre e-mail</td>");
		document.write("<td><input class='champ1' type='text' id='resp_mail' name='resp_mail' size='26' value=''></td>");
		document.write("</tr>");
		document.write("<tr>");
		document.write("<td class='a12gris'>Objet</td>");
		document.write("<td><input class='champ1' type='text' size='70' id='title' name='title' value=''></td>");
		document.write("</tr>");
		document.write("<tr>");
		document.write("<td class='a12gris' valign='top'>Message</td>");
		document.write("<td><textarea class='champ1' cols='66' rows='5' name='msg' id='msg'></textarea></td>");
		document.write("</tr>");
		document.write("<tr>");
		document.write("<td colspan='2' align='right'><input type='submit' value='Envoyer'></td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("</form>");
		