function taf_validator(theTafForm)
{
	
	if(theTafForm.nome_visitatore.value == "") {
		 alert("Pregasi compilare il campo Nome.");
		 theTafForm.nome_visitatore.focus();
		 return(false);
	}

	if(theTafForm.email_visitatore.value == "") {
		 alert("Pregasi compilare il campo E-mail.");
		 theTafForm.email_visitatore.focus();
		 return(false);
	}

	if (theTafForm.email_visitatore.value.length < 6 || theTafForm.email_visitatore.value.indexOf("@") == -1 || theTafForm.email_visitatore.value.indexOf(".") == -1) {
	 	 alert("L\'indirizzo digitato all\'interno del campo E-mail non risulta corretto.\nPregasi verificare la sintassi dei dati inseriti.");
		 theTafForm.email_visitatore.focus();
		 return false;
	}

	if(theTafForm.nome_amico.value == "") {
		 alert("Pregasi compilare il campo Nome.");
		 theTafForm.nome_amico.focus();
		 return(false);
	}

	if(theTafForm.email_amico.value == "") {
		 alert("Pregasi compilare il campo E-mail.");
		 theTafForm.email_amico.focus();
		 return(false);
	}

	if (theTafForm.email_amico.value.length < 6 || theTafForm.email_amico.value.indexOf("@") == -1 || theTafForm.email_amico.value.indexOf(".") == -1) {
	 	 alert("L\'indirizzo digitato all\'interno del campo E-mail non risulta corretto.\nPregasi verificare la sintassi dei dati inseriti.");
		 theTafForm.email_amico.focus();
		 return false;
	}

	if(theTafForm.commento.value.length == "") {
		 alert("Pregasi specificare il proprio Commento.");
		 theTafForm.commento.focus();
		 return(false);
	}

	if(theTafForm.commento.value.length > "500") {
		 alert("Pregasi utilizzare non pił di 500 caratteri.");
		 theTafForm.commento.focus();
		 return(false);
	}
	return (true);
}