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:"Seiser Alm, Einstieg Seiser Alm Bahn",icon:IconDefault};var G211=new GLatLng(46.54026646198233,11.564011573791504);var m211=new GMarker(G211,mO);map.addOverlay(m211);bounds.extend(G211);GEvent.addListener(m211,"click",function(){location.href="http://www.skiresort.de/skigebiet/seiser-alm/"});mO={title:"Seiser Alm, Einstieg Seiser Alm Bahn",icon:IconDefaultSub};var G4733=new GLatLng(46.572835,11.671305);var m4733=new GMarker(G4733,mO);map.addOverlay(m4733);bounds.extend(G4733);GEvent.addListener(m4733,"click",function(){location.href="http://www.skiresort.de/skigebiet/seiser-alm/"});mO={title:"St. Ulrich (Gröden), Einstieg Secedabahn",icon:IconDefaultSub};var G4428=new GLatLng(46.576415,11.675409);var m4428=new GMarker(G4428,mO);map.addOverlay(m4428);bounds.extend(G4428);GEvent.addListener(m4428,"click",function(){location.href="http://www.skiresort.de/skigebiet/groedenval-gardena/"});mO={title:"St. Christina (Gröden), Einstieg Saslong Gondola",icon:IconDefault};var G4433=new GLatLng(46.556861,11.729504);var m4433=new GMarker(G4433,mO);map.addOverlay(m4433);bounds.extend(G4433);GEvent.addListener(m4433,"click",function(){location.href="http://www.skiresort.de/skigebiet/groedenval-gardena/"});mO={title:"St. Christina (Gröden), Einstieg Col Raiser",icon:IconDefaultSub};var G4719=new GLatLng(46.56507158749222,11.736531257629395);var m4719=new GMarker(G4719,mO);map.addOverlay(m4719);bounds.extend(G4719);GEvent.addListener(m4719,"click",function(){location.href="http://www.skiresort.de/skigebiet/groedenval-gardena/"});mO={title:"Wolkenstein/Selva di Gardena (Gröden), Einstieg Ciampinoibahn",icon:IconDefaultSub};var G4434=new GLatLng(46.55318,11.761765);var m4434=new GMarker(G4434,mO);map.addOverlay(m4434);bounds.extend(G4434);GEvent.addListener(m4434,"click",function(){location.href="http://www.skiresort.de/skigebiet/groedenval-gardena/"});mO={title:"Wolkenstein/Selva di Gardena (Gröden), Einstieg Dantercepies",icon:IconDefaultSub};var G4717=new GLatLng(46.55571750591922,11.767945289611816);var m4717=new GMarker(G4717,mO);map.addOverlay(m4717);bounds.extend(G4717);GEvent.addListener(m4717,"click",function(){location.href="http://www.skiresort.de/skigebiet/groedenval-gardena/"});mO={title:"Wolkenstein/Selva di Gardena (Gröden), Einstieg Costabella",icon:IconDefaultSub};var G4718=new GLatLng(46.552397452027876,11.763932704925537);var m4718=new GMarker(G4718,mO);map.addOverlay(m4718);bounds.extend(G4718);GEvent.addListener(m4718,"click",function(){location.href="http://www.skiresort.de/skigebiet/groedenval-gardena/"});mO={title:"Wolkenstein/Selva di Gardena (Gröden), Einstieg Piz Sella",icon:IconDefaultSub};var G4725=new GLatLng(46.53365378343659,11.772043704986572);var m4725=new GMarker(G4725,mO);map.addOverlay(m4725);bounds.extend(G4725);GEvent.addListener(m4725,"click",function(){location.href="http://www.skiresort.de/skigebiet/groedenval-gardena/"});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()});
