function Show(id){
if(document.getElementById){
    var el=document.getElementById(id);
    el.style.display = (el.style.display=="block") ? "block" : "block";
    }
}

function Hide(id){
if(document.getElementById){
    var el=document.getElementById(id);
    el.style.display = (el.style.display=="none") ? "none" : "none";
    }
}

function removeText(field) { field.value = ''; }

function ControllaForm(){

	var controllo=false;
		
	if (document.newmsg.nome.value == "" ) {
		controllo=true;
		alert("STOP: The Field NAME is empty.\nCan't send the form");
	}	
	if (document.newmsg.email.value.indexOf("@") == -1 ) {
		controllo=true;
		alert("STOP: The Field E-MAIL is empty.\nCan't send the form");
	}
	if (document.newmsg.commento.value == "" ) {
		controllo=true;
		alert("STOP: The Field MESSAGE is empty.\nCan't send the form");
	}				
	if (controllo){return false}else{return true}	

	}