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


    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("location-map"));
        map.setCenter(new GLatLng(51.51154, -0.07654), 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);


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

		// Create the marker and add the click event
		markerOptions = { icon:AmericaIcon };
		
		// Bring out location and write Icon
        var latlng = new GLatLng(51.51154, -0.07654);
        map.addOverlay(new GMarker(latlng, markerOptions)); // Calls the location and marker
	

		<!-- CLOSE FUNCTION -->	  
      }
    }