//<![CDATA[
function load() {
	if (GBrowserIsCompatible()){
		var map = new GMap2(document.getElementById("map"));
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
		map.setCenter(new GLatLng(47.169176959275305,12.71942138671875),9);
		map.setMapType(G_PHYSICAL_MAP);

		var baseIcon = new GIcon();
		baseIcon.iconSize=new GSize(32,32);
		baseIcon.shadowSize=new GSize(56,32);
		baseIcon.iconAnchor=new GPoint(16,20);
		baseIcon.infoWindowAnchor=new GPoint(16,0);

      var ort = new GIcon(baseIcon, "img/icon13.png", null, ""); 
      var pin = new GIcon(baseIcon, "http://maps.google.com/mapfiles/kml/pal4/icon46.png", null, ""); 
		
		// Marker Kaprun
		var point = new GLatLng(47.169176959275305,12.71942138671875);
      	var marker = createMarker(point,'<div id="marker"><a href="kaprun.html"><img src="img/kaprun.jpg" width="200" height="75" border="0" /><br>Kaprun Hochgebirgsstauseen</a></div>',ort)
      	map.addOverlay(marker);	

		// Marker Malta
		var point = new GLatLng(46.95412909917318,13.510265350341797);
      	var marker = createMarker(point,'<div id="marker"><a href="koelnbrein.html" target="_self"><img src="img/koelnbrein.jpg" width="200" height="75" border="0" /><br>Malta Hochalmstra&szlig;e</a></div>',ort)
      	map.addOverlay(marker);	

		// Marker Reisseck
		var point = new GLatLng(46.921044775854035,13.370532989501953);
      	var marker = createMarker(point,'<div id="marker"><a href="reisseck.html" target="_self"><img src="img/reisseck.jpg" width="200" height="75" border="0" /><br>Rei&szlig;eck Bergbahnen</a></div>',ort)
      	map.addOverlay(marker);	

		// Marker Schlegeis
		var point = new GLatLng(47.039651812471185,11.703529357910156);
      	var marker = createMarker(point,'<div id="marker" ><a href="schlegeis.html" target="_self"><img src="img/schlegeis.jpg" width="200" height="75" border="0" /><br>Schlegeis Alpenstra&szlig;e</a></div>',ort)
      	map.addOverlay(marker);	
		

	

} else {
		alert("Sorry, the Google Maps API is not compatible with this browser");
		}
}

    function createMarker(point,html,icon) {
	var marker = new GMarker(point,icon);
	GEvent.addListener(marker, "click", function(){marker.openInfoWindowHtml(html);});
	return marker;
}
//]]>