// JavaScript Document

var address ="Zur Platte 90537 Feucht";
var map = null;
var geocoder = null;

function load() {
   geocoder = new GClientGeocoder();
   if (GBrowserIsCompatible()) {
     map = new GMap2(document.getElementById("map"));
     if (geocoder) {
     geocoder.getLatLng(
       address,
       function(point) {
         if (!point) {
           alert(address + " not found");
         } else {
           map.setCenter(point, 13);
           map.addControl(new GLargeMapControl());
           var marker = new GMarker(point);
           map.addOverlay(marker);
           marker.openInfoWindowHtml(address);
         }
       }
     );
   }
   }
 }
