function form_multi(theForm) {
	
if (theForm.nome.value == "") {
    alert("Compilare il campo Nome");
    theForm.nome.focus();
    return (false);
  }
  

if (theForm.cognome.value == "") {
    alert("Compilare il campo Cognome");
    theForm.cognome.focus();
    return (false);
  }
  
if (theForm.rag_soc.value == "") {
    alert("Compilare il campo Ragione Sociale");
    theForm.rag_soc.focus();
    return (false);
  }


if (theForm.indirizzo.value == "") {
    alert("Compilare il campo Indirizzo");
    theForm.indirizzo.focus();
    return (false);
  }
  
if (theForm.citta.value == "") {
    alert("Compilare il campo Cittą");
    theForm.citta.focus();
    return (false);
  }
  
if (theForm.prov.value == "") {
    alert("Compilare il campo Provincia");
    theForm.prov.focus();
    return (false);
  }

    
if (theForm.cap.value == "") {
    alert("Compilare il campo CAP");
    theForm.cap.focus();
    return (false);
  }
  
if (isNaN(document.getElementById('cap').value)) {
    alert("il campo CAP richiede SOLO numeri");
    theForm.cap.focus();
    return (false);
  }  
  
if (theForm.tel.value == "") {
    alert("Compilare il campo Telefono");
    theForm.tel.focus();
    return (false);
  }
  
if (isNaN(document.getElementById('tel').value)) {
    alert("il campo Telefono richiede SOLO numeri");
    theForm.tel.focus();
    return (false);
  }
  
      
if (theForm.email.value == "") {
    alert("Compilare il campo E-mail");
    theForm.email.focus();
    return (false);
  }
  
if (theForm.email.value.length < 7) {
    alert("L'indirizzo e-mail deve contenere almeno 6 caratteri ");
    theForm.email.focus();
    return (false);
  }
 
if (theForm.email.value.indexOf("@") == -1) {
    alert("l'indirizzo e-mail non contiene il carattere @");
    theForm.email.focus();
    return (false);
  }
 
if (theForm.email.value.indexOf(".") == -1) {
    alert("l'indirizzo e-mail non contiene estensioni");
    theForm.email.focus();
    return (false);
  }
  
if (theForm.note.value == "") {
    alert("Compilare il campo Richiesta informazioni");
    theForm.note.focus();
    return (false);
  }

    return (true);
}
