/************************************************************************
	
	JavaScript Document // Google Map - Cavendish
	Cavendish Conference Venues
	
************************************************************************/


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

		
		// Cavendish Icon
		var cavendishIcon = new GIcon();
		cavendishIcon.image = "/images/common/London-Conference-Venues-Cavendish-Tab.png";
		cavendishIcon.iconSize = new GSize(62, 74);
		cavendishIcon.iconAnchor = new GPoint(7, 67);
		cavendishIcon.infoWindowAnchor = new GPoint(7, 67);

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