// JavaScript Document

    function initialize() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(18.060494, -63.108117), 13); 

		map.setMapType(G_HYBRID_MAP);
        map.enableRotation();
		map.setUIToDefault();
        geocoder = new GClientGeocoder();
		
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
		
		var icon = new GIcon();
		icon.image = "images/map_icon.png";
		icon.shadow = "images/map_shadow.png";
		icon.iconSize = new GSize(31, 32);
		icon.shadowSize = new GSize(31, 32);
		icon.iconAnchor = new GPoint(13, 29);
		icon.infoWindowAnchor = new GPoint(-10, 1);
			geocoder.getLatLng("18.060494, -63.108117", 
				function (point) {
            if (!point) {
              alert(address + " not found");
            } else {
					map.setCenter(point, 13);
    				map.setZoom(17);
					var marker = new GMarker(point, icon);
					GEvent.addListener(marker, "click", function() {
					    marker.openInfoWindowHtml("Baie Nettle<br />Discount Car Rental<br>Tel: +0590 29 10 10");
					});

					map.addOverlay(marker);
marker.openInfoWindowHtml(address);
            }
          }
        );
      }
    }




	





