jQuery(document).ready(function(){vcGmap();});jQuery(document).unload( function(e){GUnload();});function vcGmap(){var vcGmapSettings ={'mapID':'vc_gmap','longitude':16.3498799,'latitude':48.2300771,'zoom':13,'icon':'/fileadmin/template/img/gmap/icon.gif','shadow':'/fileadmin/template/img/gmap/shadow.png','infoWindowContent':'<div class="vc_infowindow"><span class="vc_infowindow_h">OeGHO Gesch&auml;ftsstelle</span><span class="vc_infowindow_p">W&auml;hringer G&uuml;rtel 121/ 32<br />A-1180 Wien</p></div>'};var map = new GMap2(document.getElementById(vcGmapSettings.mapID));map.setCenter(new GLatLng(vcGmapSettings.latitude,vcGmapSettings.longitude),vcGmapSettings.zoom);map.addControl(new GLargeMapControl());map.getInfoWindow();point = new GLatLng(vcGmapSettings.latitude,vcGmapSettings.longitude);var baseIcon = new GIcon();baseIcon.shadow = vcGmapSettings.shadow;baseIcon.iconSize = new GSize(19,20);baseIcon.shadowSize = new GSize(36,17);baseIcon.iconAnchor = new GPoint(1,20);baseIcon.infoWindowAnchor = new GPoint(9,2);baseIcon.infoShadowAnchor = new GPoint(18,25);var markerIcon = new GIcon(baseIcon);markerIcon.image = vcGmapSettings.icon;var markerOptions ={draggable:false,icon:markerIcon};var marker = new GMarker(point,markerOptions);map.addOverlay(marker);GEvent.addListener(marker,"click",function(){marker.openInfoWindowHtml(vcGmapSettings.infoWindowContent);});}