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:"Alba di Canazei/Ciampac-Pozza di Fassa/Buffaure, Einstieg Ciampac Bahn",icon:IconClosed};var G459=new GLatLng(46.457831,11.788888);var m459=new GMarker(G459,mO);map.addOverlay(m459);bounds.extend(G459);GEvent.addListener(m459,"click",function(){location.href="http://www.skiresort.de/skigebiet/alba-di-canazeiciampac-pozza-di-fassabuffaure/schneebericht/"});mO={title:"Alba di Canazei/Ciampac-Pozza di Fassa/Buffaure, Einstieg Pozza-Buffaure",icon:IconClosedSub};var G4489=new GLatLng(46.428008,11.698165);var m4489=new GMarker(G4489,mO);map.addOverlay(m4489);bounds.extend(G4489);GEvent.addListener(m4489,"click",function(){location.href="http://www.skiresort.de/skigebiet/alba-di-canazeiciampac-pozza-di-fassabuffaure/schneebericht/"});mO={title:"Vigo di Fassa/Catinaccio/Ciampedie, Einstieg Ciampedie (Catinaccio) Bahn",icon:IconClosed};var G465=new GLatLng(46.421233,11.671278);var m465=new GMarker(G465,mO);map.addOverlay(m465);bounds.extend(G465);GEvent.addListener(m465,"click",function(){location.href="http://www.skiresort.de/skigebiet/vigo-di-fassacatinacciociampedie/schneebericht/"});mO={title:"Fassatal/Val di Fassa (Canazei/Belvedere, Campitello/Col Rodella), Einstieg Canazei-Pecol-Bahn",icon:IconClosed};var G466=new GLatLng(46.490667,11.782601);var m466=new GMarker(G466,mO);map.addOverlay(m466);bounds.extend(G466);GEvent.addListener(m466,"click",function(){location.href="http://www.skiresort.de/skigebiet/fassatalval-di-fassa-canazeibelvedere-campitellocol-rodella/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()});
