//<![CDATA[

    var map = null;

    var geocoder = null;

 

    function load() {

      if (GBrowserIsCompatible()) {

        map = new GMap2(document.getElementById("map"));

        map.addControl(new GSmallMapControl());

        map.addControl(new GMapTypeControl());

        geocoder = new GClientGeocoder();

      }

    }

 

    function showAddress(address) {

      if (geocoder) {

        geocoder.getLatLng(

          address,

          function(point) {

            if (!point) {

              map.setCenter(new GLatLng(51.4366, 6.5766), 10);

              alert(address + " not found");

            } else {

              map.setCenter(point, 12);

              var marker = new GMarker(point);

              map.addOverlay(marker);

 

            }

          }

        )

      }

    }

    //]]>

