	function createMarker(point, html){
		var marker = new GMarker(point);
		GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml(html);
		});
		return marker; 
	}
	
   	function load(city) {
    	// creo l'oggetto GClientGeocoder
		var geocoder = new GClientGeocoder();
		// l'indirizzo  proprio un testo, potrebbe essere anche solo una citt
			geocoder.getLatLng( city,
    		function(point) {
        		if (!point) {
            		alert(city + ' non trovato');
        		} else {
        			if (GBrowserIsCompatible()) {
        				var map = new GMap2(document.getElementById("map"));
        				map.setCenter(new GLatLng(point.lat(), point.lng()), 13);
        				var marker = createMarker(point,'')
						map.addOverlay(marker);
      				}
        		}
    		}
		);  

    }
    
    
