var map = null;
      var geocoder = null;
      function initialize() {
        if (GBrowserIsCompatible()) {
          map = new GMap2(document.getElementById('map_canvas'));
          map.addControl(new GSmallMapControl());
          geocoder = new GClientGeocoder();
        }
      }

      function showAddress(address, title) {
        if (geocoder) {
          geocoder.getLatLng(
            address,
            function(point) {
              if (!point) {
                alert("Osoitetta " + address + " ei löytynyt");
                //document.getElementById("map_canvas").style.height = 0;
                //document.getElementById("map_canvas").style.visibility = 'hidden';
              } else {
                map.setCenter(point, 13);
                var marker = new GMarker(point);
                map.addOverlay(marker);
                marker.openInfoWindowHtml('<strong>' + title + '</strong><br/> ' + address + '<br/>');
              }
            }
          );
        }
      }
