function VerificaForm(){
var Nominativo = document.getElementById("nome")

if(Nominativo.value=="" || Nominativo.value=="nome" || Nominativo.value=="name"){
	alert("Campo nome mancante");
	<!--document.getElementById(Nominativo.name.toUpperCase()).innerHTML='(Mancante)';-->
	Nominativo.focus();
	return false;
}

var Email = document.getElementById("email")

if(Email.value==""){
	alert("Campo email mancante");
	<!--document.getElementById(Email.name.toUpperCase()).innerHTML='(Mancante)';-->
	Email.focus();
	return false;
	}
else if(!Email.value.match(/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/)){
	alert("L'email potrebbe essere non corretta");
	<!--document.getElementById(Email.name.toUpperCase()).innerHTML='(Errata)';-->
	Email.focus();
	return false;
	}

var Oggetto = document.getElementById("oggetto")

if(Oggetto.value==""){
	alert("Campo oggetto mancante");
	<!--document.getElementById(Oggetto.name.value = "").style.display='inline';-->
	Oggetto.focus();
	return false;
}

var Messaggio = document.getElementById("messaggio")

if(Messaggio.value=="" || Messaggio.value=="..."){
	alert("Campo messaggio mancante");
	<!--document.getElementById(Messaggio.name.toUpperCase()).style.display='inline';-->
	Messaggio.focus();
	return false;
	}
}


function dentro(nome, valore, defaultVal) {
	var nome, valore, defaultVal;
	var obj = document.getElementById(nome);
	if(valore==defaultVal){
		obj.value='';
	};
	obj.style.backgroundColor='#ffffff';
	obj.style.backgroundRepeat='no-repeat';
	obj.style.backgroundPosition='top right';
	obj.style.color='#000000';
	obj.style.fontWeight='bold';
	obj.style.fontStyle='normal';
}


function fuori(nome, valore, defaultVal) {
	var nome, valore, defaultVal;
	var obj = document.getElementById(nome);
	if(valore==''){
		obj.value=defaultVal;
		obj.style.color='#565656';
		obj.style.fontWeight='normal';
		obj.style.fontStyle='italic';
		obj.style.backgroundImage='none';
	} else if(valore==defaultVal){
		obj.style.color='#565656';
		obj.style.fontWeight='normal';
		obj.style.fontStyle='italic';
		obj.style.backgroundImage='none';
	} else {
		obj.style.backgroundColor='#ffffff';
		obj.style.backgroundRepeat='no-repeat';
		obj.style.backgroundPosition='top right';
		obj.style.color='#3C3C96';
		obj.style.fontWeight='bold';
		obj.style.fontStyle='normal';
	}
}