 <!--
  function Modulo() {
     // Variabili associate ai campi del modulo
     var nome = document.modulo.fld_nome.value;
     var email = document.modulo.fld_email.value;
     var password = document.modulo.fld_password.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("Il campo Nome \350 obbligatorio.");
           document.modulo.fld_nome.focus();
           return false;
        }
        //Effettua il controllo sul campo Email
        if (!email_reg_exp.test(email) || (email == "") || (email == "undefined")) {
           alert("Inserire un indirizzo email corretto.");
           document.modulo.fld_email.select();
           return false;
        }
        //Effettua il controllo sul campo Password
        else if ((password == "") || (password == "undefined")) {
           alert("Il campo Password \350 obbligatorio.");
           document.modulo.fld_password.focus();
           return false;
        }
        //INVIA IL MODULO
        else {
           document.modulo.action = "pubblicita-agriturismo.html";
           document.modulo.submit();
        }
  }
 //-->
