			function initialize()
			{
				map = new GMap2(document.getElementById("map_canvas"));
				map.setCenter(new GLatLng(marposs_map_latitude,marposs_map_longitude), marposs_map_zoom);
				map.setMapType(G_NORMAL_MAP); //G_NORMAL_MAP - G_SATELLITE_MAP - G_HYBRID_MAP --- G_DEFAULT_MAP_TYPES(array contenente questi 3)
				map.addMapType(G_PHYSICAL_MAP);

				map.addControl(new GMapTypeControl());		//3 bottoni x tipo di mappa


				//map.addControl(new GOverviewMapControl());	//mappetta in basso a dx
				//map.addControl(new GLargeMapControl());		//frecce e zoom
				map.setUIToDefault();

				if(marposs_view_balloon=="Si")
				{
					var coordinate=new GLatLng(marposs_map_latitude,marposs_map_longitude);
					var marker = new GMarker(coordinate);

					GEvent.addListener(marker,"click", function(){											
						var worldwide_info ='<div class="mapAddress"><span class="logo"><img src="'+base_url+'images/logo_small.gif" alt="" title="" border="0" /></span><span class="address">'+marposs_balloon+'</span></div>';
						var worldwide_coordinates=new GLatLng(marposs_map_latitude,marposs_map_longitude);
						map.openInfoWindowHtml(worldwide_coordinates, worldwide_info);
					});
					map.addOverlay(marker);
				}
			}

			function handleErrors()
			{
				if (strada.getStatus().code == G_GEO_UNKNOWN_ADDRESS)
					alert("Nessuna locazione geografica trovata per l\'indirizzo specificato.\nPuo\' essere dovuto al fatto che l\'indirizzo e\' relativamante nuovo, o che non e\' corretto.\n\nCodice errore: " + strada.getStatus().code);
				else if (strada.getStatus().code == G_GEO_SERVER_ERROR)
					alert("Errore sconosciuto.\n Error code: " + strada.getStatus().code);  
				else if (strada.getStatus().code == G_GEO_MISSING_QUERY)
					alert("The HTTP q parameter was either missing or had no value. Per richieste geocoder , significa che un indirizzo vuoto was specified in input. Per richieste directions, this means that no query was specified in the input.\n Error code: " + strada.getStatus().code);
				else if (strada.getStatus().code == G_GEO_BAD_KEY)
					alert("La chiave specificata non e\' valida o non e\' associata al suo dominio. \n Error code: " + strada.getStatus().code);
				else if (strada.getStatus().code == G_GEO_BAD_REQUEST)
					alert("Probabilmante non e\' stata cliccata nessuna destinazione!\n\n Richiesta di percorso non analizzata correttamente.\n Error code: " + strada.getStatus().code);
				else alert("Errore sconosciuto.");   
			}