function envoiMail(name)
{
  if (window.XMLHttpRequest)
    xhr_object = new XMLHttpRequest();
  else if (window.ActiveXObject)
    xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
  else
    return;
    
  xhr_object.open("POST", "/envoi-mail.php", true);
  xhr_object.setRequestHeader("content-type", "application/x-www-form-urlencoded");
  var data = "nom="+name
  xhr_object.send(data);

  xhr_object.onreadystatechange = function()  {  }
  return;
}
