function checkForm() {
	var the = document.myform;  
				
	if (the.nome.value == ""){
		alert("Per favore, inserisci il tuo nome.");
		return false;
	}
				
	if (the.email.value == ""){
		alert("Per favore, inserisci la tua e-mail.");
		return false;
	}
	
	EmailAddr = the.email.value;
	Filtro = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;
	if (!Filtro.test(EmailAddr)) {
	   alert("Per favore, controlla l'indirizzo di e-mail inserito");
	   return false;
	}
				
	return true;
}	
