function checkForm()
		{
			// RECUPERO LE VARIABILI DAL FORM
			var nome = document.form1.nome.value;
			var indirizzo = document.form1.indirizzo.value;
			var dominio = document.form1.dominio.value;
			var it = document.form1.it.value;
			var oggetto = document.form1.oggetto.value;
			var messaggio = document.form1.messaggio.value;
			var risultatoSpam = document.form1.risultatoSpam.value;
			var risultatoUtente = document.form1.spam.value;
			
			// CONTROLLO NOME
			if (nome == "") {
			   alert("Il campo \"Nome\" è obbligatorio!");
			   return false;
			}
			// CONTROLLO EMAIL
			if ((indirizzo == "") || (dominio == "") || (it == "")) {
			   alert("L'ndirizzo email non è valido!");
			   return false;
			}
			// CONTROLLO OGGETTO
			if(oggetto == "") {
			   alert("Il campo \"oggetto\" è obbligatorio!");
			   return false;
			}
			// CONTROLLO MESSAGGIO
			if(messaggio == "") {
			   alert("Il campo \"messaggio\" è vuoto!");
			   return false;
			}
			// CONTROLLO ANTISPAM
			if (risultatoUtente == "") {
			   alert("Il campo \"Anti-spam\" è vuoto!");
			   return false;
			}
			else if (risultatoSpam != risultatoUtente ) {
			   alert("Il risultato dell'operazione \"Anti-spam\" è errato!");
			   return false;
			}
			//INVIA IL MODULO
			else {
			   document.form1.action = "../html/invioMail.php";
			   document.form1.submit();
			}
		}

