function ValidateModule() {
	// Variabili associate ai campi del modulo
	var Nome = document.modulo.Nome.value;
	var Cognome = document.modulo.Cognome.value;
	var Indirizzo = document.modulo.Indirizzo.value;
	var Cap = document.modulo.Cap.value;
	var Localita = document.modulo.Localita.value;
	var Provincia = document.modulo.Provincia.value;
	var Telefono = document.modulo.Telefono.value;
	var Email = document.modulo.Email.value;
	var xxx_Email = document.modulo.xxx_Email.value;
	var Note = document.modulo.Note.value;
	//var xxx_Accept = document.modulo.xxx_Accept.checked;
	// Espressione regolare dell'email
	var email_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;
	//Effettua il controllo sul campo Nome
	if ((Nome == "") || (Nome == "undefined")) {
		alert("Il campo Nome è obbligatorio.");
		document.modulo.Nome.focus();
		return false;
		}
	//Effettua il controllo sul campo Cognome
	if ((Cognome == "") || (Cognome == "undefined")) {
		alert("Il campo Cognome è obbligatorio.");
		document.modulo.Cognome.focus();
		return false;
		}
	//Effettua il controllo sul campo Email
	else if (!email_reg_exp.test(Email) || (Email == "") || (Email == "undefined")) {
		alert("Inserire un indirizzo email corretto.");
		document.modulo.Email.select();
		return false;
        }
		//Effettua il controllo sul campo Email
	else if (!email_reg_exp.test(xxx_Email) || (xxx_Email == "") || (xxx_Email == "undefined")) {
		alert("Inserire conferma indirizzo email corretto.");
		document.modulo.xxx_Email.select();
		return false;
        }
		//Effettua il controllo corrispondenza e-mail
	else if (Email != xxx_Email) {
		alert("Gli indirizzi email non corrispondono.");
		document.modulo.Email.value = '';
		document.modulo.xxx_Email.value = '';
		document.modulo.Email.select();
		return false;
        }
	//Effettua il controllo sul campo accettazione privacy
//	if ((xxx_Accept == "") || (xxx_Accept == "undefined")) {
//		alert("E' necessario accettare le condizioni di utilizzo del sito.");
//		document.modulo.xxx_Accept.focus();
//		return false;
//		}
	//INVIA IL MODULO
	else {
		//document.modulo.submit();
		return true;
		}
	}

//Per IE e NN6
var ie=document.all
var ns=document.layers
var ns6=document.getElementById&&!document.all

function enlarge(which,e){

if (ie||ns6){
crossobj=document.getElementById? document.getElementById("showimage") : document.all.showimage
if (crossobj.style.visibility=="hidden"){
crossobj.style.left=ns6? pageXOffset+e.clientX : document.body.scrollLeft+event.clientX
crossobj.style.top=ns6? pageYOffset+e.clientY : document.body.scrollTop+event.clientY
crossobj.innerHTML='<div align=right id=drag><SPAN STYLE="cursor: hand"><font face="verdana" color="#ff0000" size="2"><b onClick=closepreview()>Chiudi</b></font></span></div><img src="'+which+'">'
crossobj.style.visibility="visible"
}
else
crossobj.style.visibility="hidden"
return false
}

else if (document.layers){
if (document.showimage.visibility=="hide"){
document.showimage.document.write('<a href="#" onMouseover="drag_dropns(showimage)"><img src="'+which+'" border=0></a>')
document.showimage.document.close()
document.showimage.left=e.x
document.showimage.top=e.y
document.showimage.visibility="show"
}
else
document.showimage.visibility="hide"
return false
}

else
return true
}

function closepreview(){
crossobj.style.visibility="hidden"
}

//Per NN4.x
var nsx,nsy,nstemp

function drag_dropns(name){
temp=eval(name)
temp.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
temp.onmousedown=gons
temp.onmousemove=dragns
temp.onmouseup=stopns
}

function gons(e){
temp.captureEvents(Event.MOUSEMOVE)
nsx=e.x
nsy=e.y
}
function dragns(e){
temp.moveBy(e.x-nsx,e.y-nsy)
return false
}

function stopns(){
temp.releaseEvents(Event.MOUSEMOVE)
}

function drag_drop(e){
if (ie&&dragapproved){
crossobj.style.left=tempx+event.clientX-offsetx
crossobj.style.top=tempy+event.clientY-offsety
}
else if (ns6&&dragapproved){
crossobj.style.left=tempx+e.clientX-offsetx
crossobj.style.top=tempy+e.clientY-offsety
}
return false
}

function initializedrag(e){
if (ie&&event.srcElement.id=="drag"||ns6&&e.target.id=="drag"){
offsetx=ie? event.clientX : e.clientX
offsety=ie? event.clientY : e.clientY

tempx=parseInt(crossobj.style.left)
tempy=parseInt(crossobj.style.top)

dragapproved=true
document.onmousemove=drag_drop
}
}

document.onmousedown=initializedrag
document.onmouseup=new Function("dragapproved=false")