function onlynumbers(s){
  Filtro = /[^0-9,.]/;
  s.value = s.value.replace(Filtro,"");
}
function modulo_Validator(theForm)
{
  if (theForm.nome.value == "")
  {
    alert(" Inserisci il tuo nome ");
    theForm.nome.focus();
    return (false);
  }
 if (theForm.cognome.value == "")
 {
    alert(" Inserisci il tuo cognome ");
    theForm.cognome.focus();
    return (false);
  }

   var email_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;
 
  if (!email_reg_exp.test(theForm.email.value) || (theForm.email.value == "") || (theForm.email.value == "undefined")) {
   alert("Inserisci un indirizzo email corretto.");
   theForm.email.focus();
   return false;
}
    if (theForm.consenso.checked != "1")
    {
    alert(" Attenzione per inviare il form devi accettare l'informativa sulla privacy ");
    theForm.consenso.focus();
    return (false);
  }
  return (true);
}

