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:IconClosed};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:IconClosed};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:IconClosed};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:IconClosedSub};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:IconClosedSub};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:IconClosedSub};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:IconClosedSub};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:IconClosedSub};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:IconClosedSub};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:IconClosed};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/"});mO={title:"Gerlos (Zillertal Arena), Einstieg Isskogelbahn",icon:IconClosedSub};var G4411=new GLatLng(47.2296280,12.0490306);var m4411=new GMarker(G4411,mO);map.addOverlay(m4411);bounds.extend(G4411);GEvent.addListener(m4411,"click",function(){location.href="http://www.skiresort.de/skigebiet/zillertal-arena/schneebericht/"});mO={title:"Königsleiten (Zillertal Arena), Einstieg Königsleitenbahnen",icon:IconClosedSub};var G4412=new GLatLng(47.2509218,12.1223250);var m4412=new GMarker(G4412,mO);map.addOverlay(m4412);bounds.extend(G4412);GEvent.addListener(m4412,"click",function(){location.href="http://www.skiresort.de/skigebiet/zillertal-arena/schneebericht/"});mO={title:"Königsleiten (Zillertal Arena), Einstieg Sonnwendkopfbahn",icon:IconClosedSub};var G4691=new GLatLng(47.241716,12.114964);var m4691=new GMarker(G4691,mO);map.addOverlay(m4691);bounds.extend(G4691);GEvent.addListener(m4691,"click",function(){location.href="http://www.skiresort.de/skigebiet/zillertal-arena/schneebericht/"});mO={title:"Krimml/Gerlosplatte (Zillertal Arena), Einstieg Filzsteinbahn",icon:IconClosedSub};var G4413=new GLatLng(47.231834,12.155251);var m4413=new GMarker(G4413,mO);map.addOverlay(m4413);bounds.extend(G4413);GEvent.addListener(m4413,"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()});
