var map=null;function addMarker(id,lat,lng,img,imgw,imgh,ax,ay,content){var icon=new GIcon();icon.iconSize=new GSize(imgw,imgh);icon.iconAnchor=new GPoint(ax,ay);icon.infoWindowAnchor=new GPoint(imgw,imgh);icon.infoShadowAnchor=new GPoint(80,25);icon.transparent="http://www.google.com/mapfiles/markerTransparent.png";icon.image='http://www.casag-architektur.ch/'+img;var point=new GLatLng(lat,lng);var marker=new GMarker(point,icon);GEvent.addListener(marker,"click",function(){marker.openInfoWindowHtml(content);});map.addOverlay(marker);}
function xrGLoad(){if(GBrowserIsCompatible()){map=new GMap2(document.getElementById("xrgooglemaps_94"));map.setMapType(G_HYBRID_MAP);map.setCenter(new GLatLng(47.2303194,9.0265073),9);map.addControl(new GLargeMapControl());map.addControl(new GScaleControl());geocoder=new GClientGeocoder();addMarker(1,47.2303194,9.0265073,'typo3conf/ext/xrgooglemaps/pi1/default.png',20,34,10,34,'<p class="bodytext"> CASAG Architektur AG<br />Riedenstrasse 21<br />8737 Gommiswald</p><p class="bodytext">Telefon 055 290 19 00<br />Fax 055 290 19 01</p>');}}
