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


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


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

		// Create the marker and add the click event
		markerOptions = { icon:mayfairIcon };
	
        // Bring out location and write Icon
        var latlng = new GLatLng(51.51357, -0.16185);
        map.addOverlay(new GMarker(latlng, markerOptions)); // Calls the location and marker
       	//	map.openInfoWindow(map.getCenter(), <!-- Window -->
        //  document.createTextNode("Mayfair Conference Centre"));
		
		
		// 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
		
		
		// ICO Icon
		var ICOIcon = new GIcon();
		ICOIcon.image = "/images/common/London-Conference-Venues-ICO-Tab.png";
		ICOIcon.iconSize = new GSize(62, 74);
		ICOIcon.iconAnchor = new GPoint(7, 67);
		ICOIcon.infoWindowAnchor = new GPoint(7, 67);

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


		// 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
		
		
		// Hallam Icon
		var HallamIcon = new GIcon();
		HallamIcon.image = "/images/common/London-Conference-Venues-Hallam-Tab.png";
		HallamIcon.iconSize = new GSize(62, 74);
		HallamIcon.iconAnchor = new GPoint(7, 67);
		HallamIcon.infoWindowAnchor = new GPoint(7, 67);

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


		<!-- CLOSE FUNCTION -->	  
      }
    }