<script type="text/javascript">

    var map = null;
    var geocoder = null;

    function initialize() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map_canvas"));
				// controls;
map.addControl(new GMapTypeControl());
map.addControl(new GLargeMapControl());
        // map.setCenter(new GLatLng(48.0864276, 11.2008596), 13);
        geocoder = new GClientGeocoder();
      }
    }

    function showAddress(address) {
		initialize();
      if (geocoder) {
        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("<p class=\'titel\'><?php echo $titel; ?></p><p>"+address+"<br/><br/><?php echo $tel; ?></p>");
            }
          }
        );
      }
    }
    </script>
