    var map = null;
    var geocoder = null;

    function load() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
		map.addControl(new GLargeMapControl());
		//map.addControl(new GSmallMapControl());
		map.addControl(new GScaleControl());
		map.addControl(new GMapTypeControl());
		//map.addControl(new GOverviewMapControl());
        map.setCenter(new GLatLng(46.204607, 6.147001), 20);
		map.enableDoubleClickZoom();
        geocoder = new GClientGeocoder();
		showAddress();
      }
    }

    function showAddress() {
      if (geocoder) {
		var address = "Rue de la Croix d'Or 6, 1204 Geneva";
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(point, 16);
              var marker = new GMarker(point);
              map.addOverlay(marker);
              //marker.openInfoWindowHtml(address);
            }
          }
        );
      }
    }
