// JavaScript Document

	function changeProp(objId,x,theProp,theValue) {
	  var obj = null; with (document){ if (getElementById)
	  obj = getElementById(objId); }
	  if (obj){
		if (theValue == true || theValue == false)
		  eval("obj.style."+theProp+"="+theValue);
		else eval("obj.style."+theProp+"='"+theValue+"'");
	  }
	}

    var map = null;
    var geocoder = null;

    function initialize() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
		
		// Longitude und Latitude des Startortes, 0-15 für Zoom (15 = nah, 0 = fern)
        geocoder = new GClientGeocoder();

		// Links oben Pfeile und "+" und "-" Tasten
		map.addControl(new GSmallMapControl());

		// Rechts oben Tasten "Karte", "Satellit", "Hybrid"
		map.addControl(new GMapTypeControl());
      }
    }

    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);
              marker.openInfoWindowHtml(address);
            }
          }
        );
      }
    }

