$j(document).ready(function() {
    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(51.226481,-0.278412), 13);
        map.addControl(new GLargeMapControl());
        map.addControl(new GMapTypeControl());

        // Creates a marker whose info window displays the letter corresponding
        // to the given index.
        function createMarker(point) {

          // Set up our GMarkerOptions object
          var marker = new GMarker(point);

          GEvent.addListener(marker, "click", function() {
            marker.openInfoWindowHtml("HamishWilson & Co<br />The Byre<br />Wheelers Lane<br />Brockham<br />Betchworth<br />Surrey<br />RH3 7HJ");
          });
          return marker;
        }
      

         var latlng = new GLatLng(51.226481,-0.278412);
          map.addOverlay(createMarker(latlng));
      }
    }
});
