<!--
function Modulo() {
     // Variabili associate ai campi del modulo
	 var nome = document.getElementById('nome').value;
	 var cognome = document.getElementById('cognome').value;
	 var tel = document.getElementById('tel').value;
	 var indirizzo = document.getElementById('indirizzo').value;
	 var comune = document.getElementById('comune').value;
	 var provincia = document.getElementById('provincia').value;
	 var email = document.getElementById('_email').value;
	 var richiesta = document.getElementById('richiesta').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' e' obbligatorio.");
           document.modulo.nome.focus();
           return false;
        }
        else if ((cognome == "") || (cognome == "undefined")) {
           alert("Il campo Cognome e' obbligatorio.");
           document.modulo.cognome.focus();
           return false;
        }
		else if ((indirizzo == "") || (indirizzo == "undefined")) {
           alert("Il campo Indirizzo e' obbligatorio.");
           document.modulo.indirizzo.focus();
           return false;
        }
		else if ((comune == "") || (comune == "undefined")) {
           alert("Il campo Comune e' obbligatorio.");
           document.modulo.comune.focus();
           return false;
        }
		else if ((provincia == "") || (provincia == "undefined")) {
           alert("Il campo Provincia e' obbligatorio.");
           document.modulo.provincia.focus();
           return false;
        }
		else if ((tel == "") || (tel == "undefined")) {
           alert("Il campo Telefono e' obbligatorio.");
           document.modulo.tel.focus();
           return false;
        }
		else if ((email == "") || (email == "undefined")) {
           alert("Il campo Email e' obbligatorio.");
           document.modulo._email.focus();
           return false;
        }
		else if ((richiesta == "") || (richiesta == "undefined")) {
           alert("Il campo Richiesta e' obbligatorio.");
           document.modulo.richiesta.focus();
           return false;
        }
        //INVIA IL MODULO
        else {
           document.modulo.submit();
        }
  } 
//-->
