function controlla_form(){Nome=document.getElementById('nome').value;if(Nome==""){alert("Nome mancante ");return false;}
Email=document.getElementById('email').value;if(Email==""){alert("Email mancante");return false;}
else{if(!(Email.match(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/))){alert("Email errata");return false;}}
Code=document.getElementById('securitycode').value;if(Code==""){alert("Codice Anti-Spam mancante");return false;}
Messaggio=document.getElementById('messaggio').value;if(Messaggio==""){alert("Messaggio mancante");return false;}}

