function initialize(hotel) {
	var map;
	if (GBrowserIsCompatible()) {
		var mapOptions = {
			googleBarOptions : {
				style : "new"
			}
		}
		
		//alert(hotel);
		
		// Configuration map Latitude = 51.5511, Longitude = -0.1803 
		map = new GMap2(document.getElementById("map"), mapOptions);
		var point = new GLatLng(51.550399,-0.180234); 
		map.setCenter(point, 13);	
		map.setUIToDefault();
		map.enableGoogleBar();
		
		
		
		//  ======== Add a map overview ==========
		      map.addControl(new GOverviewMapControl(new GSize(200,200)));

		      //  ======== A function to adjust the positioning of the overview ========
		      function positionOverview(x,y) {
		        var omap=document.getElementById("map_overview");
		        omap.style.left = x+"px";
		        omap.style.top = y+"px";

		        // == restyling ==
		        omap.firstChild.style.border = "1px solid gray";

		        omap.firstChild.firstChild.style.left="4px";
		        omap.firstChild.firstChild.style.top="4px";
		        omap.firstChild.firstChild.style.width="190px";
		        omap.firstChild.firstChild.style.height="190px";
		      }
		
		var tolink = "<a target=\"blank\" href=\"http://www.google.com/maps?source=uds&daddr=varzi+%40" + point.lat() + "%2C" + point.lng() + "&iwstate1=dir%3Ato&hl=it\">a qui</a>"
		var fromlink = "<a target=\"blank\" href=\"http://www.google.com/maps?source=uds&daddr=varzi+%40" + point.lat() + "%2C" + point.lng() + "&iwstate1=dir%3Afrom&hl=it\">da qui</a>"
	
		
		/* Creates a marker at the given point with the given number label
		********************************
		SETTAGGI MAPPA CON PIU' HOTELS 
		******************************** */
		function createMarker(point, number) {  
		var marker = new GMarker(point);  GEvent.addListener(marker, "click", 
			function() {
				
				marker.openInfoWindowHtml("<strong>The Langorf Hotel</strong>20 Frognal<br>Hampstead<br>London NW3 6AG <br>Phone: 0044 (0)207 794 4483 <br>Fax : 0044 (0)207 435 9055<br>Email : <a href=\"mailto:info@langorfhotel.com\">info@langorfhotel.com</a>");
				
			});  
		return marker;
		}
			
		// HOTEL 
		var point = new GLatLng(51.550399,-0.180234);  
		map.addOverlay(createMarker(point, 1));
		
	}
}



$(function() {
	initialize();
});

$(window).unload( function () { 
	GUnload();
} );
