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:"Bispingen/Snow Dome, Einstieg Snow Dome",icon:IconDefault};var G1190=new GLatLng(53.1034192,9.9815986);var m1190=new GMarker(G1190,mO);map.addOverlay(m1190);bounds.extend(G1190);GEvent.addListener(m1190,"click",function(){location.href="http://www.skiresort.de/skigebiet/bispingensnow-dome/"});mO={title:"Bottrop/Alpincenter, Einstieg Alpincenter",icon:IconDefault};var G1255=new GLatLng(51.524819,6.968551);var m1255=new GMarker(G1255,mO);map.addOverlay(m1255);bounds.extend(G1255);GEvent.addListener(m1255,"click",function(){location.href="http://www.skiresort.de/skigebiet/bottropalpincenter/"});mO={title:"Neuss/Jever Skihalle, Einstieg Jever Skihalle",icon:IconDefault};var G2943=new GLatLng(51.171681720733794,6.6493141651153564);var m2943=new GMarker(G2943,mO);map.addOverlay(m2943);bounds.extend(G2943);GEvent.addListener(m2943,"click",function(){location.href="http://www.skiresort.de/skigebiet/neussjever-skihalle/"});mO={title:"Senftenberg/SnowTropolis, Einstieg SnowTropolis",icon:IconDefault};var G3555=new GLatLng(51.519339,13.97499);var m3555=new GMarker(G3555,mO);map.addOverlay(m3555);bounds.extend(G3555);GEvent.addListener(m3555,"click",function(){location.href="http://www.skiresort.de/skigebiet/senftenbergsnowtropolis/"});mO={title:"Wittenburg/Alpincenter Hamburg-Wittenburg, Einstieg Alpincenter",icon:IconDefault};var G4266=new GLatLng(53.50633,11.094947);var m4266=new GMarker(G4266,mO);map.addOverlay(m4266);bounds.extend(G4266);GEvent.addListener(m4266,"click",function(){location.href="http://www.skiresort.de/skigebiet/wittenburgalpincenter-hamburg-wittenburg/"});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()});
