//<![CDATA[

	function initialize() {
		var myLatLng = new google.maps.LatLng(52.62188, 1.2968);
		var myOptions = {
			zoom: 15,
			center: myLatLng,
			mapTypeControl: true,
			mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU},
			mapTypeId: google.maps.MapTypeId.ROADMAP,
			scrollwheel: false
		};
		
		var map = new google.maps.Map($('#map')[0], myOptions);
		var myLatLng = new google.maps.LatLng(52.62188, 1.2968);
		var image = '/assets/images/content/contact/map-marker.png';
		var soakMarker = new google.maps.Marker({
			position: myLatLng,
			map: map,
			icon: image
		});
	}
	
    /* Call this function when the page has been loaded
    function initialize(){
        if (GBrowserIsCompatible()) {
            // Create our custom marker icon
            var map = new GMap2($("#map")[0]);
            map.setCenter(new GLatLng(52.62188, 1.2968), 15);
			map.setUIToDefault();
			
            var customIcon = new GIcon();
            customIcon.image = "/assets/images/content/contact/map-marker.png";
            customIcon.shadow = "";
            customIcon.iconSize = new GSize(62.0, 77.0);
            customIcon.iconAnchor = new GPoint(31.0, 77.0);
            markerOptions = {
                icon: customIcon
            };
			
            gdir = new GDirections(map, $("#directions")[0]);
			marker = new GMarker(new GLatLng(52.62188, 1.2968), markerOptions);
            map.addControl(new GLargeMapControl());
            map.addOverlay(marker);
        }
    }
	*/
    $(window).ready(function() {
		initialize();
	});
  
//]]>
