    //<![CDATA[

    var map = null;
    var geocoder = null;

    function load() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(43.5436, -10.317), 9);
        map.addControl(new GSmallMapControl());
        map.addControl(new GOverviewMapControl());        
        map.addControl(new GSmallZoomControl());                
        geocoder = new GClientGeocoder();
      }
    }


function createMarker(point,name,html) { var marker = new GMarker(point); GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html);}); gmarkers[i] = marker; htmls[i] = html; sidebar_html += '<a class=link_interni href="javascript:myclick(' + i + ')">' + name + '</a><br>'; i++; return marker; }
function myclick(i) { gmarkers[i].openInfoWindowHtml(htmls[i]); }  


    function showAddress(address) {
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(point, 15);
              var marker = new GMarker(point);
              map.addOverlay(marker);
              marker.openInfoWindow(address);
            }
          }
        );
      }
    }
    //]]>