<!--

	function createMarker(point,icona,messaggio) {
		var marker = new GMarker(point,icona);
		GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml(messaggio);
		});
		return marker;
	}

	var arrCoor=new Array()
		var arrRagSoc
		function load(coordinate,rag_soc,zoomm) {
			if (GBrowserIsCompatible() && coordinate.length>0) {
				if (coordinate[0].Status.code==200) {
			        var map = new GMap2(document.getElementById("map"));
			        map.setCenter(new GLatLng(coordinate[0].Placemark[0].Point.coordinates[1], coordinate[0].Placemark[0].Point.coordinates[0]), zoomm);
					map.addControl(new GSmallMapControl());
					map.addControl(new GMapTypeControl());
					var icon = new GIcon();
					icon.image = "http://www.papposileno.comx/css/img/PappoSilenoLocation.png";
					icon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
					icon.iconSize = new GSize(20, 20);
					icon.shadowSize = new GSize(2, 10);
					icon.iconAnchor = new GPoint(6, 20);
					icon.infoWindowAnchor = new GPoint(5, 1);
				var point = new GLatLng(coordinate[0].Placemark[0].Point.coordinates[1], coordinate[0].Placemark[0].Point.coordinates[0]);
				var descrizionePunto="<b>"+rag_soc+"</b>"
					if (coordinate[0].Placemark[0].AddressDetails.Country.AdministrativeArea!=undefined){
					 if (coordinate[0].Placemark[0].AddressDetails.Country.AdministrativeArea.SubAdministrativeArea!=undefined)
	 				  {
	 				  	if (coordinate[0].Placemark[0].AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality!=undefined)
	 				  		{
	 				  			if (coordinate[0].Placemark[0].AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare!=undefined)
			 				  		{
				 				  		if (coordinate[0].Placemark[0].AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare.ThoroughfareName!=undefined)
				 				  		{
												descrizionePunto+="<br>"+coordinate[0].Placemark[0].AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare.ThoroughfareName
												descrizionePunto+=",<br>"+coordinate[0].Placemark[0].AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.PostalCode.PostalCodeNumber
												descrizionePunto+=" "+coordinate[0].Placemark[0].AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.LocalityName
												descrizionePunto+=" "+coordinate[0].Placemark[0].AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName
											}
										}
								}
						}
					}

				map.addOverlay(createMarker(point,icon,descrizionePunto));
				map.addControl(new GSmallMapControl());
				map.addControl(new GMapTypeControl());
	  		} else {
	  			document.getElementById("map").style.display="none";
			}
			}
		}

//-->
