    //<![CDATA[

    function load() {
      if (GBrowserIsCompatible()) {
		// Get the Map
        var map = new GMap2(document.getElementById("map"));
		map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl());
		map.setCenter(new GLatLng(-27.46909708856808, 153.021719455719), 16);
		
		// Explorers Inn Brisbane - Hotel Location + display Hotel Star Logo
		var point = new GLatLng(-27.468990, 153.021386);
		var icon = new GIcon();
		icon.image = "../images/misc/googlemaps_logo_star.png";
		icon.shadow = "../images/misc/googlemaps_logo_star_shadow.png";
		icon.iconSize = new GSize(50, 62);
		icon.shadowSize = new GSize(60, 62);
		icon.iconAnchor = new GPoint(6, 62);
		map.addOverlay(new GMarker(point, icon));

		// Function to create Markers on map from Array
		function createMarker(point1, location1) {  
			var marker = new GMarker(point1);  
			GEvent.addListener(marker, "click", function() {    
				marker.openInfoWindowHtml("<b>" + location1 + "</b>");  
			}); 			
			return marker;
		}
		
		// Function to draw a Polyline from Hotel to Marker Location - Hotel Point "-27.468400, 153.021786"
		function createpolyline(drawline) {
			var polyline = new GPolyline([    
			new GLatLng(-27.468400, 153.021786), drawline
			], "#FF0000", 5);
			return polyline;
		}		
		
		// Create Arrays for Marker Point, Info Marker and Line Markers
		var locationname = new Array(7);
		var locationmarker = new Array(7);
		var locationline = new Array(7);
		// Queen Street Mall
		locationname[0] = "Queen Street Mall";
		locationmarker[0] = new GLatLng(-27.469500, 153.025386);
		locationline[0] = new GLatLng(-27.469500, 153.025386);
		// Roma Street Transit Centre
		locationname[1] = "Roma Street Transit Centre";
		locationmarker[1] = new GLatLng(-27.466500, 153.020386);
		locationline[1] = new GLatLng(-27.466500, 153.020386);
		// Conrad Treasury Casino
		locationname[2] = "Conrad Treasure Casino";
		locationmarker[2] = new GLatLng(-27.471690, 153.023499);
		locationline[2] = new GLatLng(-27.471690, 153.023499);
		// Southbank Parklands
		locationname[3] = "Southbank Parklands";
		locationmarker[3] = new GLatLng(-27.475500, 153.021200);
		locationline[3] = new GLatLng(-27.475500, 153.021200);
		// Cultural Centre
		locationname[4] = "Cultural Centre";
		locationmarker[4] = new GLatLng(-27.472100, 153.018400);
		locationline[4] = new GLatLng(-27.472100, 153.018400);
		// Botantic Gardens
		locationname[5] = "Botanic Gardens";
		locationmarker[5] = new GLatLng(-27.475000, 153.028000);
		locationline[5] = new GLatLng(-27.475000, 153.028000);
		// Convention Centre
		locationname[6] = "Brisbane Convention Centre";
		locationmarker[6] = new GLatLng(-27.475999, 153.018400);
		locationline[6] = new GLatLng(-27.475999, 153.018400);

		// Loop through Array and Display Locations on Map
		for (var i = 0; i < 7; i++) {  
			var point1 = locationmarker[i];
			var location1 = locationname[i];
			var drawline = locationline[i];
			map.addOverlay(createMarker(point1, location1));
			map.addOverlay(createpolyline(drawline));
		}
      }
    }

    //]]>
