<!--
  function Modulo() {



var cognome = document.modulo.cognome.value;
var nome = document.modulo.nome.value;
var citta = document.modulo.citta.value;
var prov = document.modulo.prov.options[document.modulo.prov.selectedIndex].value;
var email = document.modulo.email.value;
var telefono = document.modulo.telefono.value;
var note = document.modulo.note.value;
var email_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;

if ((cognome == "") || (cognome == "undefined")) {
   alert("Il campo Cognome č obbligatorio.");
   document.modulo.cognome.focus();
   return false;
}


else if ((nome == "") || (nome == "undefined")) {
   alert("Il campo Nome č obbligatorio.");
   document.modulo.nome.focus();
   return false;
}

else if ((citta == "") || (citta == "undefined")) {
   alert("Il campo Cittā č obbligatorio.");
   document.modulo.citta.focus();
   return false;
}


else if ((prov == "") || (prov == "undefined") || (prov == "Null")) {
   alert("Il campo Provincia č obbligatorio.");
   document.modulo.prov.focus();
   return false;
}



else if ((telefono == "") && (email == "")) {
   alert("Inserire Telefono o E-Mail.");
   document.modulo.email.focus();
   return false;
}


else if ((!email == "") && (!email_reg_exp.test(email) || (email == "") || (email == "undefined"))) {
          alert("Inserire un indirizzo email corretto.");
           document.modulo.email.select();
           return false;
        }



else if ((note == "") || (note == "undefined")) {
   alert("Il campo Note č obbligatorio.");
   document.modulo.note.focus();
   return false;
}



       //INVIA IL MODULO
        else {
           document.modulo.action = "add_richiesta_generica.asp?invio=1";
           document.modulo.submit();
        }



 }
 //-->