function mailto(){
var message_valide="true";
var rapport_erreurs="";
var cible_focus="";
if(document.form_contact.message.value=='' || document.form_contact.message.value=='Message'){
rapport_erreurs+='Le champ "message" Not Support \n';
cible_focus="message";
message_valide="false";
}
if(document.form_contact.objet.value=='' || document.form_contact.objet.value=='Subject'){
rapport_erreurs+='Subject Not Support \n';
cible_focus="objet";
message_valide="false";
}
if(document.form_contact.mail.value=='' || document.form_contact.mail.value=='mail'){
rapport_erreurs+='E-mail addresse Not Support \n';
cible_focus="mail";
message_valide="false";
}else{
var reg = new RegExp('^[a-z0-9]+([_|\.|-]{1}[a-z0-9]+)*@[a-z0-9]+([_|\.|-]{1}[a-z0-9]+)*[\.]{1}[a-z]{2,6}$', 'i');
if(reg.test(document.form_contact.mail.value)){
}else{
rapport_erreurs+='E-mail addresse Not Support \n';
cible_focus="mail";
message_valide="false";
}
}
if(document.form_contact.nom.value=='' || document.form_contact.nom.value=='Name'){
rapport_erreurs+='Name Not Support \n';
cible_focus="nom";
message_valide="false";
}
if(message_valide=="true"){
document.form_contact.submit();
alert('Thank You. We have received your message.');
}else{
alert(rapport_erreurs);
switch(cible_focus){
case "nom":document.form_contact.nom.focus();break;
case "mail":document.form_contact.mail.focus();break;
case "objet":document.form_contact.objet.focus();break;
case "message":document.form_contact.message.focus();break;
default:document.form_contact.nom.focus();break;
}