function windowOpen(url){jQuery.post("index.php?eID=mg_skiresort&action=externalLink","url="+url);window.open(url);}
var IconDefault=new GIcon(G_DEFAULT_ICON);IconDefault.iconSize=new GSize(10,10);IconDefault.image="http://www.skiresort.de/typo3conf/ext/mg_skiresort/res/img/gMap_marker00.png";IconDefault.shadow=null;IconDefault.iconAnchor=new GPoint(5,5);var IconDefaultSub=new GIcon(G_DEFAULT_ICON);IconDefaultSub.iconSize=new GSize(8,8);IconDefaultSub.image="http://www.skiresort.de/typo3conf/ext/mg_skiresort/res/img/gMap_marker00s.png";IconDefaultSub.shadow=null;IconDefaultSub.iconAnchor=new GPoint(4,4);var IconOpen=new GIcon(G_DEFAULT_ICON);IconOpen.iconSize=new GSize(10,10);IconOpen.image="http://www.skiresort.de/typo3conf/ext/mg_skiresort/res/img/gMap_marker02.png";IconOpen.shadow=null;IconOpen.iconAnchor=new GPoint(5,5);;var IconOpenSub=new GIcon(G_DEFAULT_ICON);IconOpenSub.iconSize=new GSize(8,8);IconOpenSub.image="http://www.skiresort.de/typo3conf/ext/mg_skiresort/res/img/gMap_marker02s.png";IconOpenSub.shadow=null;IconOpenSub.iconAnchor=new GPoint(4,4);var IconClosed=new GIcon(G_DEFAULT_ICON);IconClosed.iconSize=new GSize(10,10);IconClosed.image="http://www.skiresort.de/typo3conf/ext/mg_skiresort/res/img/gMap_marker01.png";IconClosed.shadow=null;IconClosed.iconAnchor=new GPoint(5,5);var IconClosedSub=new GIcon(G_DEFAULT_ICON);IconClosedSub.iconSize=new GSize(8,8);IconClosedSub.image="http://www.skiresort.de/typo3conf/ext/mg_skiresort/res/img/gMap_marker01s.png";IconClosedSub.shadow=null;IconClosedSub.iconAnchor=new GPoint(4,4);function initializeGMap(){if(GBrowserIsCompatible()){map=new GMap2(document.getElementById("map_canvas"),{size:new GSize(355,212)});map.addMapType(G_PHYSICAL_MAP);map.setMapType(G_PHYSICAL_MAP);map.addControl(new GSmallMapControl());map.addControl(new GMenuMapTypeControl());var bounds=new GLatLngBounds();mO={title:"Bergen/Hochfelln, Einstieg Hochfellnseilbahn",icon:IconClosed};var G12=new GLatLng(47.797669,12.591341);var m12=new GMarker(G12,mO);map.addOverlay(m12);bounds.extend(G12);GEvent.addListener(m12,"click",function(){location.href="http://www.skiresort.de/skigebiet/bergenhochfelln/schneebericht/"});mO={title:"Waidring/Steinplatte-Reit im Winkl/Winklmoosalm, Einstieg Seegatterlbahn",icon:IconClosed};var G38=new GLatLng(47.65762666401289,12.540678977966309);var m38=new GMarker(G38,mO);map.addOverlay(m38);bounds.extend(G38);GEvent.addListener(m38,"click",function(){location.href="http://www.skiresort.de/skigebiet/waidringsteinplatte-reit-im-winklwinklmoosalm/schneebericht/"});mO={title:"Waidring/Steinplatte-Reit im Winkl/Winklmoosalm, Einstieg Steinplattenbahn",icon:IconClosed};var G4390=new GLatLng(47.587309,12.56469);var m4390=new GMarker(G4390,mO);map.addOverlay(m4390);bounds.extend(G4390);GEvent.addListener(m4390,"click",function(){location.href="http://www.skiresort.de/skigebiet/waidringsteinplatte-reit-im-winklwinklmoosalm/schneebericht/"});mO={title:"Waidring/Steinplatte-Reit im Winkl/Winklmoosalm, Einstieg Kammerkörbahn",icon:IconClosedSub};var G4391=new GLatLng(47.616607,12.560592);var m4391=new GMarker(G4391,mO);map.addOverlay(m4391);bounds.extend(G4391);GEvent.addListener(m4391,"click",function(){location.href="http://www.skiresort.de/skigebiet/waidringsteinplatte-reit-im-winklwinklmoosalm/schneebericht/"});mO={title:"Ruhpolding, Einstieg FIS Lift",icon:IconClosed};var G41=new GLatLng(47.744644,12.629192);var m41=new GMarker(G41,mO);map.addOverlay(m41);bounds.extend(G41);GEvent.addListener(m41,"click",function(){location.href="http://www.skiresort.de/skigebiet/ruhpolding/schneebericht/"});mO={title:"Ruhpolding, Einstieg Unternbergbahn",icon:IconClosedSub};var G4523=new GLatLng(47.737869,12.630957);var m4523=new GMarker(G4523,mO);map.addOverlay(m4523);bounds.extend(G4523);GEvent.addListener(m4523,"click",function(){location.href="http://www.skiresort.de/skigebiet/ruhpolding/schneebericht/"});mO={title:"Aschau/Kampenwand, Einstieg Kampenwandbahn",icon:IconClosed};var G449=new GLatLng(47.764938,12.325759);var m449=new GMarker(G449,mO);map.addOverlay(m449);bounds.extend(G449);GEvent.addListener(m449,"click",function(){location.href="http://www.skiresort.de/skigebiet/aschaukampenwand/schneebericht/"});mO={title:"Siegsdorf, Einstieg Wolfsberg Skilift",icon:IconClosed};var G451=new GLatLng(47.817845,12.666308);var m451=new GMarker(G451,mO);map.addOverlay(m451);bounds.extend(G451);GEvent.addListener(m451,"click",function(){location.href="http://www.skiresort.de/skigebiet/siegsdorf/schneebericht/"});mO={title:"Schleching/Geigelstein, Einstieg Geigelsteinbahn",icon:IconClosed};var G538=new GLatLng(47.704145,12.378389);var m538=new GMarker(G538,mO);map.addOverlay(m538);bounds.extend(G538);GEvent.addListener(m538,"click",function(){location.href="http://www.skiresort.de/skigebiet/schlechinggeigelstein/schneebericht/"});mO={title:"Inzell/Kessellifte, Einstieg Kessellifte",icon:IconClosed};var G590=new GLatLng(47.761981,12.723809);var m590=new GMarker(G590,mO);map.addOverlay(m590);bounds.extend(G590);GEvent.addListener(m590,"click",function(){location.href="http://www.skiresort.de/skigebiet/inzellkessellifte/schneebericht/"});var clat=(bounds.getNorthEast().lat()+bounds.getSouthWest().lat())/2;var clng=(bounds.getNorthEast().lng()+bounds.getSouthWest().lng())/2;map.setCenter(new GLatLng(clat,clng));zoomLevel=map.getBoundsZoomLevel(bounds);if(zoomLevel>8){zoomLevel=8;}
map.setZoom(zoomLevel);}}
jQuery(document).ready(function(){initializeGMap()});
