function conf_invio() {
		
     var nome  	   = document.modul.nome.value;
     var cognome   = document.modul.cognome.value;
     var indirizzo = document.modul.indirizzo.value;
     var citta	   = document.modul.citta.value;
     var telefono  = document.modul.telefono.value;
     var email     = document.modul.email.value;
     var messaggio = document.modul.messaggio.value;     
     var mail_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;

		 if ((nome == "") || (nome == "undefined")) {
           alert("Il campo NOME è obbligatorio.");
           document.modul.nome.focus();           
           return false;
        }

		else if ((cognome == "") || (cognome == "undefined")) {
           alert("Il campo COGNOME è obbligatorio.");
           document.modul.cognome.focus();           
           return false;
        }
		
		else if ((telefono == "") || (telefono == "undefined")) {
           alert("Il campo TELEFONO è obbligatorio.");
           document.modul.telefono.focus();           
           return false;
        }		

        else if (!mail_reg_exp.test(email) || (email == "") || (email == "undefined")) {
           alert("Inserire un indirizzo E-mail corretto.");
           document.modul.email.focus();           
           return false;
        }
		
		else if ((messaggio == "") || (messaggio == "undefined")) {
           alert("Il campo MESSAGGIO è obbligatorio.");
           document.modul.messaggio.focus();           
           return false;
        }
        else if (!document.modul.autorizzazione.checked) {
           alert("Seleziona il consenso alla privacy."); 	   
           return false;
        }
        //INVIA IL modul
        else {
           document.modul.submit();
        }
     
  }
