function load(l, b, a, infoText) {
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("map"));
		map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl());
		map.setCenter(new GLatLng(l,b), a);
		map.setMapType(G_HYBRID_TYPE);

		// Creates a marker at the given point with the given number label
		function createMarker(point, infoText, icon) {
		  var marker = new GMarker(point, icon);
		  GEvent.addListener(marker, "click", function() {
//		    marker.openInfoWindowHtml("Marker #<b>" + number + "</b>");
		    marker.openInfoWindowHtml(infoText);
		  });
		  return marker;
		}

		var icon = new GIcon();
		icon.image = "http://www.palmberger.com/images/mm_20_red.png";
		icon.shadow = "http://www.palmberger.com/images/mm_20_shadow.png";
		icon.iconSize = new GSize(12, 20);
		icon.shadowSize = new GSize(22, 20);
		icon.iconAnchor = new GPoint(6, 20);
		icon.infoWindowAnchor = new GPoint(5, 1);

		// Stadtzentrum
		var point = new GLatLng(48.273182, 12.150171);
		map.addOverlay(createMarker(point, "<p><b>Stadtzentrum Dorfen</b></p>", icon));

		// Schulzentrum
		icon.image = "http://www.palmberger.com/images/mm_20_blue.png";
		point = new GLatLng(48.279316, 12.148422);
		map.addOverlay(createMarker(point, "<p><b>Schulzentrum</b><br>mit Grund- und Hauptschule, Gymnasium</p>", icon));

		// Bahnhof
		icon.image = "http://www.palmberger.com/images/mm_20_green.png";
		point = new GLatLng(48.267341, 12.161479);
		map.addOverlay(createMarker(point, "<p><b>Bahnhof Dorfen</b><br>mit Eilzugverbindung in 35 Minuten nach München-Ost</p>", icon));

		// Sportzentrum
		icon.image = "http://www.palmberger.com/images/mm_20_yellow.png";
		point = new GLatLng(48.277281, 12.155771);
		map.addOverlay(createMarker(point, "<p><b>Sportzentrum</b><br>Freibad, Eishalle, Tennisplätze, Fußballplatz</p>", icon));

		// Einkaufsmärkte
		icon.image = "http://www.palmberger.com/images/mm_20_pink.png";
		point = new GLatLng(48.267884, 12.158175);
		map.addOverlay(createMarker(point, "<p><b>Einkaufsmärkte</b><br>(Aldi, Netto, Schlecker, Lidl, MiniMal)</p>", icon));

		if(infoText){
			icon.image = "http://www.palmberger.com/images/arrow_blue.gif";
			point = new GLatLng(l, b);
			var marker = createMarker(point, infoText, icon);
			map.addOverlay(marker);
			marker.openInfoWindowHtml(infoText);

		}
	}
}
