function initialize(){if(GBrowserIsCompatible()){function createMarker(point,html){var marker=new GMarker(point);GEvent.addListener(marker,"click",function(){marker.openInfoWindowHtml(html)});GEvent.addListener(marker,"mouseover",function(){marker.openInfoWindowHtml(html)});return marker}var map=new GMap2(document.getElementById("pubmap"));map.addControl(new GSmallMapControl());map.addControl(new GScaleControl());map.addControl(new GMapTypeControl());map.addControl(new GOverviewMapControl());map.setCenter(new GLatLng(51.294449,-0.332100),17);var point=new GLatLng(51.294449,-0.332100);var marker=createMarker(point,'The Running Horse<br/>38 Bridge Street<br/>Check out our promotions <a href="#"/>here</a>');map.addOverlay(marker);}else{alert("Sorry, the Google Maps API is not compatible with this browser")}}