    var map = null; 
    var geocoder = null; 
    function load(address) { 
      if (GBrowserIsCompatible()) { 
        map = new GMap2(document.getElementById("map")); 
        //map.setCenter(new GLatLng(48.9, 2.3), 7); 
        map.addControl(new GSmallMapControl()); 
        map.addControl(new GMapTypeControl()); 
        geocoder = new GClientGeocoder(); 
		displayAddress(address);
      } 
    } 
    function loadmap(l1, l2, z) { 
      if (GBrowserIsCompatible()) { 
        var map = new GMap2(document.getElementById("map")); 
        map.setCenter(new GLatLng(l1,l2), z, G_HYBRID_MAP); 
        map.addControl(new GSmallMapControl()); 
        map.addControl(new GMapTypeControl());
		map.addControl(new GOverviewMapControl());
        var geocoder = new GClientGeocoder();       
		} 
    } 
  	function displayAddress(address) { 
      if (geocoder) { 
        geocoder.getLatLng(address, 
          function(point) { 
            if (!point) { 
        		map.setCenter(new GLatLng(l1,l2), z, G_HYBRID_MAP); 
            } else { 
              map.setCenter(point, 13); 
              var marker = new GMarker(point); 
              map.addOverlay(marker); 
              marker.openInfoWindowHtml(address); 
            } 
          } 
        );
      } 
	}