function Form_Validator(theForm)
{

  if (theForm.nome.value == "")
  {
    alert("Inserire un valore per il campo \"Nome\".");
    theForm.nome.focus();
    return (false);
  }

  if (theForm.cognome.value == "")
  {
    alert("Inserire un valore per il campo \"Cognome\".");
    theForm.cognome.focus();
    return (false);
  }

 if (theForm.indirizzo.value == "")
  {
    alert("Inserire un valore per il campo \"Indirizzo\".");
    theForm.indirizzo.focus();
    return (false);
  }

  if (theForm.citta.value == "")
  {
    alert("Inserire un valore per il campo \"Citta\".");
    theForm.citta.focus();
    return (false);
  }

  if (theForm.email.value == "" && theForm.telefono.value == "")
  {
    alert("Inserire un valore per il campo \"Email\" oppure \"Telefono\".");
    theForm.email.focus();
    return (false);
  }
  
  if (theForm.patologia.value == "")
  {
    alert("Inserire un valore per il campo \"Patologia\".");
    theForm.patologia.focus();
    return (false);
  }
  
  if (theForm.Consenso675.checked==false)
  	{
      alert("E\' necessario il vostro consenso per la gestione dei dati personali.");
      theForm.Consenso675.focus();
      return (false);
 	}  
  
  return (true);
}



