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:"Fügen/Spieljoch, Einstieg Spieljochbahn",icon:IconOpen};var G68=new GLatLng(47.3390095,11.8432971);var m68=new GMarker(G68,mO);map.addOverlay(m68);bounds.extend(G68);GEvent.addListener(m68,"click",function(){location.href="http://www.skiresort.de/skigebiet/fuegenspieljoch/schneebericht/"});mO={title:"Kaltenbach/Hochzillertal-Hochfügen (SKi-optimal), Einstieg Hochzillertalbahnen",icon:IconOpen};var G85=new GLatLng(47.2891477,11.8727585);var m85=new GMarker(G85,mO);map.addOverlay(m85);bounds.extend(G85);GEvent.addListener(m85,"click",function(){location.href="http://www.skiresort.de/skigebiet/kaltenbachhochzillertal-hochfuegen-ski-optimal/schneebericht/"});mO={title:"Mayrhofen/Penken, Ahorn, Rastkogel, Eggalm, Einstieg Penkenbahn",icon:IconOpen};var G134=new GLatLng(47.1633683,11.8605168);var m134=new GMarker(G134,mO);map.addOverlay(m134);bounds.extend(G134);GEvent.addListener(m134,"click",function(){location.href="http://www.skiresort.de/skigebiet/mayrhofenpenken-ahorn-rastkogel-eggalm/schneebericht/"});mO={title:"Mayrhofen/Penken, Ahorn, Rastkogel, Eggalm, Einstieg Horbergbahn",icon:IconOpenSub};var G4408=new GLatLng(47.1905366,11.8576740);var m4408=new GMarker(G4408,mO);map.addOverlay(m4408);bounds.extend(G4408);GEvent.addListener(m4408,"click",function(){location.href="http://www.skiresort.de/skigebiet/mayrhofenpenken-ahorn-rastkogel-eggalm/schneebericht/"});mO={title:"Tux/Hintertuxer Gletscher, Einstieg Hintertuxer Gletscherbahn",icon:IconOpen};var G142=new GLatLng(47.10700431876255,11.675055027008057);var m142=new GMarker(G142,mO);map.addOverlay(m142);bounds.extend(G142);GEvent.addListener(m142,"click",function(){location.href="http://www.skiresort.de/skigebiet/tuxhintertuxer-gletscher/schneebericht/"});mO={title:"Hochfügen (SKi-optimal Hochfügen-Hochzillertal), Einstieg 8er-Jet Hochfügen",icon:IconOpenSub};var G4405=new GLatLng(47.265055,11.776421);var m4405=new GMarker(G4405,mO);map.addOverlay(m4405);bounds.extend(G4405);GEvent.addListener(m4405,"click",function(){location.href="http://www.skiresort.de/skigebiet/kaltenbachhochzillertal-hochfuegen-ski-optimal/schneebericht/"});mO={title:"Finkenberg/Penken (Mayrhofen), Einstieg Finkenberger Almbahn",icon:IconOpenSub};var G4394=new GLatLng(47.1522743,11.8222909);var m4394=new GMarker(G4394,mO);map.addOverlay(m4394);bounds.extend(G4394);GEvent.addListener(m4394,"click",function(){location.href="http://www.skiresort.de/skigebiet/mayrhofenpenken-ahorn-rastkogel-eggalm/schneebericht/"});mO={title:"Lanersbach/Eggalm (Mayrhofen), Einstieg Eggalmbahn",icon:IconOpenSub};var G4398=new GLatLng(47.1570477,11.7286372);var m4398=new GMarker(G4398,mO);map.addOverlay(m4398);bounds.extend(G4398);GEvent.addListener(m4398,"click",function(){location.href="http://www.skiresort.de/skigebiet/mayrhofenpenken-ahorn-rastkogel-eggalm/schneebericht/"});mO={title:"Vorderlanersbach/Rastkogel (Mayrhofen), Einstieg Rastkogelbahn",icon:IconOpenSub};var G4400=new GLatLng(47.1636232,11.7431375);var m4400=new GMarker(G4400,mO);map.addOverlay(m4400);bounds.extend(G4400);GEvent.addListener(m4400,"click",function(){location.href="http://www.skiresort.de/skigebiet/mayrhofenpenken-ahorn-rastkogel-eggalm/schneebericht/"});mO={title:"Mayrhofen/Ahorn (Mayrhofen), Einstieg Ahornbahn",icon:IconOpenSub};var G4511=new GLatLng(47.1603032517986,11.859784126281738);var m4511=new GMarker(G4511,mO);map.addOverlay(m4511);bounds.extend(G4511);GEvent.addListener(m4511,"click",function(){location.href="http://www.skiresort.de/skigebiet/mayrhofenpenken-ahorn-rastkogel-eggalm/schneebericht/"});mO={title:"Zell am Ziller (Zillertal Arena), Einstieg Rosenalmbahn",icon:IconOpen};var G4410=new GLatLng(47.2372082,11.8993003);var m4410=new GMarker(G4410,mO);map.addOverlay(m4410);bounds.extend(G4410);GEvent.addListener(m4410,"click",function(){location.href="http://www.skiresort.de/skigebiet/zillertal-arena/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()});
