    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(52.191350, -0.292535), 18);
        map.addControl(new GSmallMapControl());
        //map.addControl(new GMapTypeControl());
        map.setMapType(G_SATELLITE_MAP);

        // Create a base icon for all of our markers that specifies the
        // shadow, icon dimensions, etc.
        var baseIcon = new GIcon(G_DEFAULT_ICON);
        baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
        baseIcon.iconSize = new GSize(20, 34);
        baseIcon.shadowSize = new GSize(37, 34);
        baseIcon.iconAnchor = new GPoint(9, 34);
        baseIcon.infoWindowAnchor = new GPoint(9, 2);

        // Creates a marker whose info window displays the letter corresponding
        // to the given index.
        function createMarker(point, index, lochead, loctext) {


          //   Create a lettered icon for this point using our icon class
          //var letter = String.fromCharCode("A".charCodeAt(0) + index);
          //var letteredIcon = new GIcon(baseIcon);
          //letteredIcon.image = "http://www.google.com/mapfiles/marker" + letter + ".png";
          //   Set up our GMarkerOptions object
          //var markerOptions = { icon:letteredIcon };
          var markerOptions = { title:lochead[index] };
          var marker = new GMarker(point, markerOptions);

          //var marker = new GMarker(point);

          //When markers are clicked show message
          GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml("<strong>" + lochead[index] + ":</strong><p>" + loctext[index] + "</p>");
          });
          return marker;
        }

        // Add markers
        var loclat = [52.191750, 52.191600, 52.190920, 52.190800, 52.190600, 52.190400, 52.190750, 52.191150, 52.191600, 52.191900, 52.192200, 52.192090, 52.192050, 52.191950, 52.192320, 52.192210, 52.190900];
        var loclng = [-0.292595, -0.292555, -0.292350, -0.292325, -0.292225, -0.292325, -0.291125, -0.290800, -0.291325, -0.291625, -0.292250, -0.293300, -0.293120, -0.292695, -0.294100, -0.294070, -0.290825];
        var lochead = ["Swim: SUMMER [Gravel Bar, Lilly Pads, Island, Margins]", "Swim: North Island [Shallow Bar, 2 Islands, Lilly Pads, Margins]", "Swim: Kent 1 [Island, Gravel Bar, Platuex]", "Swim: Kent 2 [Island, Gravel Bar]","Swim: Guvnors [Far Margins, Overhanging Trees, Gravel Patches]","Swim: Deep Bay [Overhanging Bushes, Deep Margins]","Swim: Andys [Margins, Small Island, Weed Beds]","Swim: The Bars [Gravel Bars, Overhanging Bushes, Margins, Lilly Pads]","Swim: The Plateux [Plateux, Gravel Bar, Island, Marginal Bushes]","Swim: The Lawns [Island, Lilly Pads, Margins]","Swim: The reeds [Gravel Bar, Island, Margins]","Swim: Car Park 1 [Overhanging Bushes, Marginal Reeds, Shallow Water]","Swim: Car Park 2 [Overhanging Bushes, Marginal Reeds, Shallow Water]","Swim: Car Park 4 [Lilly Pads, Gravel Bar, Overhanging Trees, Lilly Pads]","Car Park","Caravan","Bailiffs Caravan"];
        var loctext = ["Another relatively unfished swim, the Summer swim has many of the same features as the Reeds. A secluded swim which can be good for intercepting patrolling carp.", "A bait carefully placed under the bush to the near island can be a good bet for a run or two. Although strong tackle should be used, as a take will usually end up with the fish bolting for the small channel which separates the two islands.", "With two islands to your right, a small island out in front and the back of the plateux further out on the left, this is a commanding swim which accounts for a lot of fish.","Like Kent 1, Kent 2 is a well laid out swim which commands a good amount of water.","Guvnors is a good swim for intercepting carp as they move in and out of the deeper area of lake. It produces a number of fish throughout the year. Climb the tree and watch them as they patrol.","Deep Bay is usually a good bet for a run or two. A secluded swim under the cover of large trees. Carp can usually be spotted basking under the bushes on the far bank. Climbing the tree in Guvnors gives a good view of the area.","Andys, although very weedy in the summer, is a good fish holding swim. If you can find the clear spots then you have a good chance of a couple of runs, especially around the small island out in front. But don't forget the margins.","The bars offers lots of features to fish to, as its name suggests there are a few gravel bars which can easily be spotted when the water level is lower in the summer (or you could climb the large tree next door!). The large patch of lilly pads is a great fish holding spot, as is the right hand marginal bushes and reeds.","As its name suggests The Platuex holds a large Plateux. Lots of features to fish to in this swim. Baits in the right spot will usually produce a take.","The lawns are another commanding swim with lots of features to fish to. The island with its lilly pads is a carp patrol route usually giving some action. A plumb around with a marker float will show varying depths and features which are also good for producing runs.","The Reeds is a relatively unfished swim. But it does provide for some good fishing. The margins along the opposite bank are usually a good bet as is the gravel bar which runs through the middle of the swim.","Being the first (or the last) swim on the lake this can be a productive area, especially during the summer months.","Much the same as Car Park 1 although slightly wider across the swim.","Lots of 'Carpy' features in this swim. A good interception point as the fish swim into and out of the shallows.","","",""];
        for (var i = 0; i < loclat.length; i++) {
          var latlng = new GLatLng(loclat[i], loclng[i]);
          map.addOverlay(createMarker(latlng, i, lochead, loctext));
        }
      }
    }
