function depliant(page){
	desktop = window.open("/datopdf/"+page, target="depliant", "left=0,top=0,height=480,width=640,resizable=yes,status=no,toolbar=no,menubar=no,location=no");
	desktop.window.focus();}
function apri(page){
	desktop = window.open(page, target="informazioni","left=10,top=110,height=390,width=260,status=no,toolbar=no,menubar=no,location=no");
	desktop.window.focus();}
function info(page){
infoA="/"
infoB=".htm"
	desktop = window.open(infoA+page+infoB, target="informa","left=10,top=110,height=390,width=260,status=no,toolbar=no,menubar=no,location=no");
	desktop.window.focus();}
function Manda() {
	 var nome = document.manda.nome.value;
	 var email = document.manda.email.value;
	 var commento = document.manda.commento.value;	 

	 var email_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;

	//Controllo sul campo NOME
	if (!nome || (nome == "") || (nome == "undefined")) {
	   alert("Errore campo NOME");
	   document.manda.nome.focus();
	   return false;
	}
	//Controllo sul campo EMAIL
	if (!email_reg_exp.test(email) || (email == "") || (email == "undefined")) {
	   alert("Errore campo E-MAIL");
	   document.manda.email.focus();
	   return false;
	}
	//Controllo sul campo MESSAGGIO
	if (!commento || (commento == "") || (commento == "undefined")) {
	   alert("Errore campo MESSAGGIO");
	   document.manda.commento.focus();
	   return false;
	}
	//INVIA IL MODULO
	else {

	//   document.manda.action = "/"+"service"+"/"+"pre"+"."+"asp";
	//   document.manda.submit();

	document.manda.action = "/"+"service"+"/"+"prepre"+"."+"asp";
	window.open('','detta','width=280,height=280,left=10,top=110,,status=no,toolbar=no,menubar=no,location=no');	
	document.manda.submit();

	}
}