 <!--
  function Modulo() {
     // Variabili associate ai campi del modulo
     var nome = document.modulo.nome.value;
     var cognome = document.modulo.cognome.value;
     var utente = document.modulo.utente.value;
     var password = document.modulo.password.value;
     var citta = document.modulo.provincia.options[document.modulo.provincia.selectedIndex].value;
     var comune = document.modulo.comune.value;
     var cellulare = document.modulo.cellulare.value;
     var cellulare2 = document.modulo.cellulare2.value;
     var cellulare3 = document.modulo.cellulare3.value;
     var email = document.modulo.email.value;
     // Espressione regolare dell'email
     var email_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;
        //Effettua il controllo sul campo NOME
        if ((nome == "") || (nome == "undefined")) {
           alert("Campo Nome obbligatorio.");
           document.modulo.nome.focus();
           return false;
        }
        //Effettua il controllo sul campo COGNOME
        else if ((cognome == "") || (cognome == "undefined")) {
           alert("Campo Cognome obbligatorio.");
           document.modulo.cognome.focus();
           return false;
        }
        //Effettua il controllo sul campo Utente
        else if ((utente == "") || (utente == "undefined")) {
           alert("Campo Utente obbligatorio.");
           document.modulo.utente.focus();
           return false;
        }
        //Effettua il controllo sul campo PASSWORD
        else if ((password == "") || (password == "undefined") || (password.length < "6")) {
           alert("Il campo Password deve avere una lunghezza di almeno 6 caratteri.");
           document.modulo.password.focus();
           return false;
        }
        //Effettua il controllo sul campo Provincia
        else if ((citta == "") || (citta == "undefined") || (citta == "XX")) {
          alert("Seleziona la Provincia");
          document.modulo.citta.focus();
          return false;
        }
        //Effettua il controllo sul campo COMUNE
        else if ((comune == "") || (comune == "undefined")) {
           alert("Campo Comune obbligatorio.");
           document.modulo.comune.focus();
           return false;
        }
        //Effettua il controllo sul campo EMAIL
        else if (!email_reg_exp.test(email) || (email == "") || (email == "undefined")) {
           alert("Inserire un indirizzo email corretto.");
           document.modulo.email.select();
           return false;
        }
        //Effettua il controllo sul campo CELLULARE
        else if ((isNaN(cellulare)) || (cellulare == "") || (cellulare == "undefined") || (cellulare.length > "10") || (cellulare.length < "9")) {
           alert("Il numero di cellulare inserito non esiste");
           document.modulo.cellulare.value = "";
           document.modulo.cellulare.focus();
           return false;
        }
        //Effettua il controllo sul campo CELLULARE2
        else if ((isNaN(cellulare2)) || ((cellulare2 != "") && (cellulare2.length != "10"))) {
           alert("Nel campo cellulare2 avete inserito un numero inesistente");
           document.modulo.cellulare2.value = "";
           document.modulo.cellulare2.focus();
           return false;
        }
        //Effettua il controllo sul campo CELLULARE3
        else if ((isNaN(cellulare3)) || ((cellulare3 != "") && (cellulare3.length != "10"))) {
           alert("Nel campo cellulare3 avete inserito un numero inesistente");
           document.modulo.cellulare3.value = "";
           document.modulo.cellulare3.focus();
           return false;
        }

        //Effettua il controllo sul campo COMUNE
        else if (document.modulo.privacy.checked==false) {
           alert("Per proseguire dovete leggere e acconsentire le informative sulla privacy citate su questa pagina");
           document.modulo.privacy.focus();
           return false;
        }

        //INVIA IL MODULO
        else {
           document.modulo.action = "RegisterUser.asp";
           document.modulo.submit();
        }
  }
 //-->