    var map = null;
    var geocoder = null;

    function load() {
      if (GBrowserIsCompatible() && document.getElementById("gmap") != null) {
        map = new GMap2(document.getElementById("gmap"));

        map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl());
 
        geocoder = new GClientGeocoder();
        geocoder.setBaseCountryCode("en");
        showAddress("Schleifmuehleweg 99, 72070 Tuebingen");
      }
    }

    function showAddress(address) {
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(point, 13);
              var marker = new GMarker(point);
              map.addOverlay(marker);
              
            }
          }
        );
      }
    }
    
    function unload() {
    	if(document.getElementById("gmap") != null)
    		GUnload();
    }
