/************************************************************************
	
	JavaScript Document // Google Map - Cavendish
	Fridge Bar
	
************************************************************************/


    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("location-map"));
        map.setCenter(new GLatLng(51.46128, -0.11590), 15); // Map centre and zoom level
		map.setUIToDefault(); // show default map controls
			
		// Map overview controls
     	// var ovcontrol = new GOverviewMapControl(new GSize(80,80)); 
    	// map.addControl(ovcontrol);

		
		// Fridge Bar Icon
		var fridgebarIcon = new GIcon();
		fridgebarIcon.image = "/images/common/Fridge-Bar-Map-Tab.png";
		fridgebarIcon.iconSize = new GSize(90, 32); // Size of Icon
		fridgebarIcon.iconAnchor = new GPoint(83, 32); // Position of Icon Anchor
		fridgebarIcon.infoWindowAnchor = new GPoint(83, 32); // Position of Info Window Anchor

		// Create the marker and add the click event
		markerOptions = { icon:fridgebarIcon };
		
		// Bring out location and write Icon
        var latlng = new GLatLng(51.45987, -0.11679);
        map.addOverlay(new GMarker(latlng, markerOptions)); // Calls the location and marker
		
		
		<!-- CLOSE FUNCTION -->	  
      }
    }