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:"Bayerisch-Eisenstein/Arber, Einstieg Arberbahn",icon:IconClosed};var G5=new GLatLng(49.1208,13.141848);var m5=new GMarker(G5,mO);map.addOverlay(m5);bounds.extend(G5);GEvent.addListener(m5,"click",function(){location.href="http://www.skiresort.de/skigebiet/bayerisch-eisensteinarber/schneebericht/"});mO={title:"Bischofsmais/Geisskopf, Einstieg Geisskopfbahn",icon:IconClosed};var G6=new GLatLng(48.933319,13.04443);var m6=new GMarker(G6,mO);map.addOverlay(m6);bounds.extend(G6);GEvent.addListener(m6,"click",function(){location.href="http://www.skiresort.de/skigebiet/bischofsmaisgeisskopf/schneebericht/"});mO={title:"St. Englmar, Einstieg Kapellenberg",icon:IconClosed};var G7=new GLatLng(49.004163,12.819511);var m7=new GMarker(G7,mO);map.addOverlay(m7);bounds.extend(G7);GEvent.addListener(m7,"click",function(){location.href="http://www.skiresort.de/skigebiet/st-englmar/schneebericht/"});mO={title:"St. Englmar, Einstieg Predigtstuhl",icon:IconClosed};var G4414=new GLatLng(49.010782,12.843393);var m4414=new GMarker(G4414,mO);map.addOverlay(m4414);bounds.extend(G4414);GEvent.addListener(m4414,"click",function(){location.href="http://www.skiresort.de/skigebiet/st-englmar/schneebericht/"});mO={title:"St. Englmar, Einstieg Pröller",icon:IconClosed};var G4415=new GLatLng(49.022582,12.805188);var m4415=new GMarker(G4415,mO);map.addOverlay(m4415);bounds.extend(G4415);GEvent.addListener(m4415,"click",function(){location.href="http://www.skiresort.de/skigebiet/st-englmar/schneebericht/"});mO={title:"Arrach/Ski Eck/Riedelstein, Einstieg Ski-Eck-Lift",icon:IconClosed};var G48=new GLatLng(49.162663,12.989364);var m48=new GMarker(G48,mO);map.addOverlay(m48);bounds.extend(G48);GEvent.addListener(m48,"click",function(){location.href="http://www.skiresort.de/skigebiet/arrachski-eckriedelstein/schneebericht/"});mO={title:"Mitterfirmiansreut/Almberg/Skizentrum Mitterdorf, Einstieg Kleiner Almberglift",icon:IconClosed};var G432=new GLatLng(48.89261018884859,13.647685647010803);var m432=new GMarker(G432,mO);map.addOverlay(m432);bounds.extend(G432);GEvent.addListener(m432,"click",function(){location.href="http://www.skiresort.de/skigebiet/mitterfirmiansreutalmbergskizentrum-mitterdorf/schneebericht/"});mO={title:"Mitterfirmiansreut/Almberg/Skizentrum Mitterdorf, Einstieg Almwiesenlift",icon:IconClosedSub};var G4667=new GLatLng(48.883386,13.646618);var m4667=new GMarker(G4667,mO);map.addOverlay(m4667);bounds.extend(G4667);GEvent.addListener(m4667,"click",function(){location.href="http://www.skiresort.de/skigebiet/mitterfirmiansreutalmbergskizentrum-mitterdorf/schneebericht/"});mO={title:"Neukirchen bei Hl. Blut/Hohenbogen, Einstieg Hoher Bogen Bahn",icon:IconClosed};var G458=new GLatLng(49.243747,12.955064);var m458=new GMarker(G458,mO);map.addOverlay(m458);bounds.extend(G458);GEvent.addListener(m458,"click",function(){location.href="http://www.skiresort.de/skigebiet/neukirchen-bei-hl-bluthohenbogen/schneebericht/"});mO={title:"Frauenberg/Dreisessel, Einstieg Skilift Dreisessel",icon:IconClosed};var G482=new GLatLng(48.792991,13.773476);var m482=new GMarker(G482,mO);map.addOverlay(m482);bounds.extend(G482);GEvent.addListener(m482,"click",function(){location.href="http://www.skiresort.de/skigebiet/frauenbergdreisessel/schneebericht/"});mO={title:"Zwiesel/Glasberg, Einstieg ",icon:IconClosedSub};var G570=new GLatLng(49.0147,13.23316);var m570=new GMarker(G570,mO);map.addOverlay(m570);bounds.extend(G570);GEvent.addListener(m570,"click",function(){location.href="http://www.skiresort.de/skigebiet/zwieselglasberg/schneebericht/"});mO={title:"Haidmühle, Einstieg Skilift Haidmühle",icon:IconClosed};var G4703=new GLatLng(48.827665,13.784666);var m4703=new GMarker(G4703,mO);map.addOverlay(m4703);bounds.extend(G4703);GEvent.addListener(m4703,"click",function(){location.href="http://www.skiresort.de/skigebiet/haidmuehle/schneebericht/"});mO={title:"Bischofsreut, Einstieg Skilift Bischofsreut",icon:IconClosed};var G4704=new GLatLng(48.857095,13.744229);var m4704=new GMarker(G4704,mO);map.addOverlay(m4704);bounds.extend(G4704);GEvent.addListener(m4704,"click",function(){location.href="http://www.skiresort.de/skigebiet/bischofsreut/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()});
