﻿    //Google map
    function initialize() {

        if (GBrowserIsCompatible()) {
            var map = new GMap2(document.getElementById("map_canvas"));
            map.setCenter(new GLatLng(51.645078, -1.574628), 12);
            map.addControl(new GSmallMapControl());
            map.addControl(new GMapTypeControl());

            // Create marker icon
            var blueIcon = new GIcon(G_DEFAULT_ICON);
            blueIcon.image = "img/blank.png";
    		
		    // Set up GMarkerOptions object
		    markerOptions = { icon:blueIcon };
            
            //Render marker
            var latlng = new GLatLng(51.645078, -1.574628);
            map.addOverlay(new GMarker(latlng, markerOptions));
          }
     }
