    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(46.431054, 11.689024), 15);
	    //map.setMapType(G_DEFAULT_MAP_TYPES);
		map.addMapType(G_SATELLITE_3D_MAP);
		map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl()); 
		var baseIcon = new GIcon();
		baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
		baseIcon.iconSize = new GSize(20, 34);
		baseIcon.shadowSize = new GSize(37, 34);
		baseIcon.iconAnchor = new GPoint(9, 34);
		baseIcon.infoWindowAnchor = new GPoint(9, 2);
		baseIcon.infoShadowAnchor = new GPoint(18, 25);
		function createMarker(point, index, hotel) 
		{  // Create a lettered icon for this point using our icon class  
		  var letter = String.fromCharCode("A".charCodeAt(0) + index);  
		  var letteredIcon = new GIcon(baseIcon);  
		  letteredIcon.image = "http://www.google.com/mapfiles/marker" + letter + ".png";  
		  // Set up our GMarkerOptions object  
		  markerOptions = { icon:letteredIcon };  
		  var marker = new GMarker(point, markerOptions);  
		  GEvent.addListener(marker, "click", function() {   
		  marker.openInfoWindowHtml("<font face=verdana size=2>" + hotel +"</font>");  
		  					});  
		  return marker;
		}
		var bounds = map.getBounds();
		var southWest = bounds.getSouthWest();
		var northEast = bounds.getNorthEast();
		var lngSpan = northEast.lng() - southWest.lng();
		var latSpan = northEast.lat() - southWest.lat();
		var point = new Array();
		var hotels = new Array();
		hotels[0]="<b>Hotel Touring</b><br>Troi de Vich 72";
		hotels[1]="<b>Hotel Montana</b><br>Strada Dolomites 29";
		hotels[2]="<b>Hotel Renè</b><br>Strada de la Veisc 69";
		hotels[3]="<b>Hotel Arnika</b><br>Strada de la Veisc 61";
		hotels[4]="<b>Hotel Trento</b><br>Strada Dolomites 54";
		hotels[5]="<b>Hotel Monzoni</b><br>Strada Dolomites 137";
		hotels[6]="<b>Hotel Ladinia</b><br>Strada de Chieva 2";
		hotels[7]="<b>Hotel El Pilon</b><br>Strada de Meida 17";
		hotels[8]="<b>Hotel Laurino</b><br>Strada de Meida 41";
		hotels[9]="<b>Hotel Cima Undici</b><br>Strada de Meida 63";
		hotels[10]="<b>Hotel Meida</b><br>Strada de Meida 67";
		hotels[11]="<b>Hotel Chalet Alaska</b><br>Strada Larséch 11";
		hotels[12]="<b>Hotel Sas Morin</b><br>Strada Donato Zeni 6";
		hotels[13]="<b>Hotel Mater Dei</b><br>Strada Maestra Paolina 7";
		hotels[14]="<b>Sport Hotel Majaré</b><br>Strada de sot Comedon 51";
		hotels[15]="<b>Hotel Valacia</b><br>Strada de Ruf de Ruacia 42";
		hotels[16]="<b>Hotel Crepei</b><br>Strada Jumela 2";
		hotels[17]="<b>Hotel Villa Margherita</b><br>Strada Jumela 35";
		point[0] = new GLatLng(46.424454,11.678961);
		point[1] = new GLatLng(46.425014,11.682530);
		point[2] = new GLatLng(46.426403,11.685178);
		point[3] = new GLatLng(46.426899,11.685227);
		point[4] = new GLatLng(46.427843,11.683602);
		point[5] = new GLatLng(46.429667,11.685451);
		point[6] = new GLatLng(46.430321,11.685122);
		point[7] = new GLatLng(46.430593,11.688033);
		point[8] = new GLatLng(46.430283,11.688955);
		point[9] = new GLatLng(46.430166,11.690814);
		point[10] = new GLatLng(46.430127,11.691498);
		point[11] = new GLatLng(46.431661,11.688396);
		point[12] = new GLatLng(46.431197,11.691161);
		point[13] = new GLatLng(46.428942,11.690025);
		point[14] = new GLatLng(46.429096,11.697010);
		point[15] = new GLatLng(46.425190,11.698844);
		point[16] = new GLatLng(46.435817,11.691293);
		point[17] = new GLatLng(46.437621,11.693208);
		var lunghezzaHotels = hotels.length;
     	for (var i=0; i<lunghezzaHotels; i++) {
			map.addOverlay(createMarker(point[i], i, hotels[i]));
												}
		}
    }

