// Controllo sull'invio del form
function controlla()
{
	var f = document.frm1;

	if(f.c_referente.value == "")
	{
		alert("Inserisci il tuo nome e cognome")
		f.c_referente.focus();
		return false;
	}
	if(f.c_recapito.value == "")
	{
		alert("Inserisci un tuo recapito, altrimenti non ti possiamo ricontattare.")
		f.c_recapito.focus();
		return false;
	}
	if(f.c_oggetto.value == "")
	{
		alert("Scrivi un soggetto per il tuo messaggio!")
		f.c_oggetto.focus();
		return false;
	}
	if(f.c_messaggio.value == "")
	{
		alert("Scrivi qualcosa nel messaggio, altrimenti a che serve?")
		f.c_messaggio.focus();
		return false;
	}
	return true;
}
