<!--
function mostraNascDiv(node) {
	var target = document.getElementById(node);
	if (target.style.display == "none") {
		target.style.display = "block";
	} else {
		target.style.display = "none";
	}
}

function disabTasto(f,testoTasto) {
	for(i=0;i<f.length;i++)
		if(f.elements[i].type == "submit"){
			f.elements[i].disabled = true;
			f.elements[i].value = testoTasto;
		}
	return true;
}

function ControllaForm1(nomeMod)
	{
	var nomeMod;
	var email_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;
	if (nomeMod.nominativo.value == "" ) 
		{
		alert("Non hai inserito il tuo Nome e Cognome");
		nomeMod.nominativo.focus();
		return false;
		}
	if (nomeMod.telefono.value == "" ) 
		{
		alert("Non hai inserito il tuo Telefono");
		nomeMod.telefono.focus();
		return false;
		}
	if ((nomeMod.email.value != "" ) && (!email_reg_exp.test(nomeMod.email.value)))
		{
		alert("Non hai inserito un Indirizzo E-mail corretto");
		nomeMod.email.select();
		return false;
		}
	if (nomeMod.messaggio.value == "" )
		{
		alert("Non hai inserito un messaggio");
		nomeMod.messaggio.select();
		return false;
		}
	if (nomeMod.privacy.checked == false )
		{
		alert("Non hai dato il consenso per il trattamento dei dati");
		nomeMod.privacy.select();
		return false;
		}
	disabTasto(nomeMod,'Invio Richiesta in Corso ...');
	return true;
}

var win = null; 
function pop(theURL,myname,w,h){ 
settings = 'scrollbars=yes,resizable=no,width='+w+',height='+h+',status=no,location=no,toolbar=no' 
win = window.open(theURL,myname,settings) 
if(win.window.focus){win.window.focus();} 
}
//-->