////////////////////////////////////////////////////////////////////////////////
// BEGIN
//

	// -- Map -----------------------------------------------------------------
	var showMap = true;
	function initializeMap()
	{
		var map = new GMap2(document.getElementById("gMap"));
			map.addControl(new GMapTypeControl(), new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(10, 10)));	
			map.setCenter(new GLatLng(52.189720, -106.680020), 13, G_PHYSICAL_MAP );
			map.addControl(new GSmallMapControl());
		
		var locations = new Array(
		new Array( 52.189720, -106.680020, "Credit Union Centre", "# 101 - 3515 Thatcher Avenue<br />Saskatoon, Saskatchewan<br />Canada S7R 1C4", "<hr>Credit Union Centre, western Canada's most versatile and exciting trade, sports and entertainment centre." )
		);
		
		for( var i = 0; i < locations.length; i++ )
		{
			var point = new GLatLng( locations[i][0], locations[i][1] );
			
			opts = new Object;
			opts.infoTitle = locations[i][3];
			opts.infoAddress = locations[i][4];
			opts.infoDesc = locations[i][4];
			//opts.icon = new_icon;
				
			var marker = new GMarker(point,opts);
				marker.infoTitle = locations[i][2];
				marker.infoAddress = locations[i][3];
				marker.infoDesc = locations[i][4];
			map.addOverlay( marker );
		}
	
	
	
	GEvent.addListener(map, "click", function(marker, point) {
	  if (marker)
		marker.openInfoWindowHtml("<h1 style='padding: 0px; color: #000000;'>"+ marker.infoTitle + "</h1><div style='width: 300px; color: #000000;'>"+ marker.infoAddress +"<br />"+ marker.infoDesc +"</div>");
	});
	}
	// ------------------------------------------------------------------------

//
////////////////////////////////////////////////////////////////////////////////