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:"Charlotte Pass, Einstieg Kosciuszko Triple Chair",icon:IconDefault};var G375=new GLatLng(-36.435094,148.331137);var m375=new GMarker(G375,mO);map.addOverlay(m375);bounds.extend(G375);GEvent.addListener(m375,"click",function(){location.href="http://www.skiresort.de/skigebiet/charlotte-pass/"});mO={title:"Perisher Blue, Einstieg Skitube Bullocks Flat",icon:IconDefault};var G4761=new GLatLng(-36.442707,148.442116);var m4761=new GMarker(G4761,mO);map.addOverlay(m4761);bounds.extend(G4761);GEvent.addListener(m4761,"click",function(){location.href="http://www.skiresort.de/skigebiet/perisher-blue/"});mO={title:"Perisher Blue, Einstieg Forester Quad Express",icon:IconDefaultSub};var G381=new GLatLng(-36.405754,148.40906);var m381=new GMarker(G381,mO);map.addOverlay(m381);bounds.extend(G381);GEvent.addListener(m381,"click",function(){location.href="http://www.skiresort.de/skigebiet/perisher-blue/"});mO={title:"Selwyn Snowfields, Einstieg New Chum Chair",icon:IconDefault};var G382=new GLatLng(-35.907553,148.450463);var m382=new GMarker(G382,mO);map.addOverlay(m382);bounds.extend(G382);GEvent.addListener(m382,"click",function(){location.href="http://www.skiresort.de/skigebiet/selwyn-snowfields/"});mO={title:"Thredbo, Einstieg Gunbarrel Express",icon:IconDefault};var G383=new GLatLng(-36.499512,148.310323);var m383=new GMarker(G383,mO);map.addOverlay(m383);bounds.extend(G383);GEvent.addListener(m383,"click",function(){location.href="http://www.skiresort.de/skigebiet/thredbo/"});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()});
