// JavaScript Document
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function Modulo() {

        if ((document.modulo.nome.value == "")) {
           alert("Il campo Nome è obbligatorio");
           document.modulo.nome.focus();
           return false;
        }
         else if ((document.modulo.cognome.value == "")) {
           alert("Il campo Cognome è obbligatorio");
           document.modulo.cognome.focus();
           return false;
     	 }

          else if ((document.modulo.telefono.value == "")) {
           alert("Il campo Telefono è obbligatorio");
           document.modulo.telefono.focus();
           return false;
     	 }
		 else if ((document.modulo.email.value == "")) {
          alert("Il campo Email è obbligatorio");
          document.modulo.email.focus();
          return false;
        }
		
		 else if ((document.modulo.persone.value == "")) {
          alert("Il campo Numero persone è obbligatorio");
          document.modulo.persone.focus();
          return false;
        }
        else if ((document.modulo.privacy.value == "")) {
           alert("Il campo Privacy è obbligatorio");
           document.modulo.privacy.focus();
           return false;
        }
        else {
           document.modulo.action = "invia-prenotazioni.php";
           document.modulo.submit();
        }
  }


