<!--

var map = null;
var geocoder = null;

function load () {
	if (GBrowserIsCompatible ()) {
		map = new GMap2 (document.getElementById ("googlemap"));
		map.addControl (new GLargeMapControl ());

		geocoder = new GClientGeocoder ();
	}
}

function show_address (address, markerhtml) {
	if (geocoder) {
		geocoder.getLatLng (address,
			function (point) {
				if (!point) {
					alert(address + " nicht gefunden");
				} else {
					map.setCenter (point, 13);

					var marker = new GMarker (point);
					map.addOverlay (marker);
					marker.openInfoWindowHtml (markerhtml);
				}
			}
		);
	}
}

//-->
