<!--
		var XMLHttpRequestObject;
		try {
			XMLHttpRequestObject=new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				XMLHttpRequestObject=new ActiveXObject("Microsoft.XMLHTTP");
			} catch (oc) {
				XMLHttpRequestObject=null;
			}
		}
		if(!XMLHttpRequestObject && typeof XMLHttpRequest != "undefined")
			XMLHttpRequestObject = new XMLHttpRequest();
		if (!XMLHttpRequestObject) {
			window.alert("Spiacente! Oggetto XMLHTTP non trovato. Connessione non disponibile");
		}
		//______________________________________________________________________________________
		function getData(dataSource, divId,issync){
			if (divId == "" | divId == null) {divId="webcontent"}
			if (issync != "false") {issync="true"}
			dataSource = dataSource.replace( /[+]/g, '%2B');
			if(XMLHttpRequestObject) {
				var obj=document.getElementById(divId);
				XMLHttpRequestObject.open("GET", dataSource,issync);
				XMLHttpRequestObject.onreadystatechange=function() {
					if(XMLHttpRequestObject.readyState==4 && XMLHttpRequestObject.status=="200") {
						obj.innerHTML=XMLHttpRequestObject.responseText
					}
				}
				XMLHttpRequestObject.send(null)
			}
		}
		//______________________________________________________________________________________
		function MyDove(foto)
			{
				var element = document.getElementById("doveright");
				if( element != null)
				{
					document.getElementById("imageX").src = "images/"+foto+".gif";
				}
			}
		//______________________________________________________________________________________
		function controllo() {
			var nome = document.modul.nome.value;
     		var cognome = document.modul.cognome.value;
     		var email = document.modul.email.value;
			var messaggio = document.modul.messaggio.value;
				if (document.modul.nome.value =="" ) {
					window.alert("Attenzione, il campo NOME e' obbligatorio");
					document.modul.nome.focus();
					return (false)
				}
				if (document.modul.cognome.value=="") {
					window.alert("Attenzione, il campo COGNOME e' obbligatorio");
					document.modul.cognome.focus();
					return (false)
				}
				if (document.modul.email.value=="") {
					window.alert("Attenzione, il campo EMAIL e' obbligatorio");
					document.modul.email.focus();
					return (false)
				}
				var goodEmail = document.modul.email.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.it)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
				if (!goodEmail){
					window.alert("Attenzione! Controllare l'esattezza dell'indirizzo email indicato");
					document.modul.email.value="";
					document.modul.email.focus();
					return (false)
				}
					if (document.modul.messaggio.value=="") {
					window.alert("Attenzione, il campo MESSAGGIO e' obbligatorio");
					document.modul.messaggio.focus();
					return (false)
				}
				return (true)
			}
		//______________________________________________________________________________________
		function showMap() {
			if (GBrowserIsCompatible()) {
				var map = new GMap2(document.getElementById("map"));                
				map.addControl(new GSmallMapControl());	            
				map.setCenter(new GLatLng(41.442726,12.392578), 5);
			}
		}
	//-->			

