// JavaScript Document
Filtro = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;
function abilita(currentForm){
	if(currentForm.checkbox.checked){
		currentForm.invia.disabled=false;
	}else{
		currentForm.invia.disabled=true;
	}
}
function verifica(currentForm){
	if(currentForm.nome.value==""){
		alert("Inserire Nome e Cognome!");
		return false;
	}else if(currentForm.commento.value==""){
		alert("Inserire il Messaggio!");
		return false;
	}
	return true;
}
