// caricamento della Google Maps
function google_map_load(address, html) {
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("googlemap"));
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
		map.addControl(new GOverviewMapControl());
		var geocoder = new GClientGeocoder();
		
		geocoder.getLatLng(
			address,
			function(point) {
				if (!point) {
					alert(address + " not found");
				}
				else {
					map.setCenter(point, 16);
					var marker = new GMarker(point);
					
					GEvent.addListener(marker, "click",	function() {
															if (map.getZoom()<17) {
																map.setCenter(this.getLatLng(), map.getZoom()+1);
															}
														}
					);
					map.addOverlay(marker);
					marker.openInfoWindowHtml('<font face="Verdana">'+html+'</font>', {'noCloseOnClick': true});
				}
			}
		);
	}
}
