// JavaScript Document
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function Modulo() {

        if ((document.modulo.nome.value == "")) {
           alert("The field Name is obligatory");
           document.modulo.nome.focus();
           return false;
        }
         else if ((document.modulo.cognome.value == "")) {
           alert("The field Surname is obligatory");
           document.modulo.cognome.focus();
           return false;
     	 }

          else if ((document.modulo.telefono.value == "")) {
           alert("The field Telephone is obligatory");
           document.modulo.telefono.focus();
           return false;
     	 }
		 else if ((document.modulo.email.value == "")) {
          alert("The field Email is obligatory");
          document.modulo.email.focus();
          return false;
        }
		 else if ((document.modulo.persone.value == "")) {
          alert("The field Number of persons is obligatory");
          document.modulo.persone.focus();
          return false;
        }
		
		else if ((document.modulo.privacy.value == "")) {
           alert("The field Privacy is obligatory");
           document.modulo.privacy.focus();
           return false;
        }
        else {
           document.modulo.action = "submit-booking.php";
           document.modulo.submit();
        }
  }


