    //<![CDATA[
	 var CaricaMappa = true;
   var geocoder;
   var map;
   var hotel = "Hotel Palazzi";
   var address = "Via Panoramica, 31 - 61011 Gabicce Mare (PU), italy";
   // On page load, call this function

		function load()
   {
      // Create new map object
      map = new GMap2(document.getElementById("map"));
			map.addControl(new GSmallMapControl());
      map.addControl(new GMapTypeControl());
      // Create new geocoding object
      geocoder = new GClientGeocoder();

      // Retrieve location information, pass it to addToMap()
      geocoder.getLocations(address, addToMap);
   }

   // This function adds the point to the map

   function addToMap(response)
   {
      // Retrieve the object
      place = response.Placemark[0];

      // Retrieve the latitude and longitude
      point = new GLatLng(place.Point.coordinates[1],
                          place.Point.coordinates[0]);

      // Center the map on this point
      map.setCenter(point, 16);

      // Create a marker
      marker = new GMarker(point);

      // Add the marker to map
      map.addOverlay(marker);
   
   var streetAddress = place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare.ThoroughfareName;
   var city = place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName;
   var state = place.AddressDetails.Country.AdministrativeArea.AdministrativeAreaName;
   var zip = place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.PostalCode.PostalCodeNumber;

      // Add address information to marker
      marker.openInfoWindowHtml('<span class="rosso_spazio"><strong>' + hotel + '</strong><br/>'  + address + '<span class="text"><form action="http://maps.google.it/maps" method="get"><br />Ottieni indicazioni stradali per arrivare qui:<br />indirizzo di partenza<br /><input type="text" name="saddr" id="saddr" value="" /><input type="submit" value="Vai" /><input type="hidden" name="daddr" value="'  + address +'" /><input type="hidden" name="hl" value="it" /></form></span>');
   }

    //]]>