	    //<![CDATA[
	    
   		if (GBrowserIsCompatible()) {
      
				var legendcode = "";
    
      	var gmarkers = [];

	      function createMarker(point,name,html) {
	        var marker = new GMarker(point);
	        GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(html); });
	        gmarkers.push(marker);
	        legendcode += '<a href="javascript:myclick(' + (gmarkers.length-1) + ')">' + name + '<\/a>';
	        return marker;
	      }
	
	      function myclick(i) { GEvent.trigger(gmarkers[i], "click"); }
	
	      // Map and controls
	      <!--G_SATELLITE_MAP.getTileLayers()[0].getOpacity = function () {return 0.6;};-->
	      var map = new GMap2(document.getElementById("map"));
				<!--document.getElementById("map").style.backgroundColor="#FBE0A5";-->
	      map.setMapType(G_SATELLITE_MAP);
	      map.addControl(new GLargeMapControl());
	     	map.addControl(new GOverviewMapControl());
	      map.addControl(new GScaleControl());

	      map.setCenter(new GLatLng(-25.4904,112.9642), 5);
			
	      // Add the markers
	      var point = new GLatLng(-25.4904,112.9642);
	      var marker = createMarker(point, '<li><em>Eendracht<\/em> (1)<\/li>', '<div class="infobox"><p><strong>27 October 1616<\/strong>: Dirk Hartog and the crew of the <em>Eendracht<\/em> sail too far east en route to the East Indies and find themselves among the islands of what is now known as Shark Bay.<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-22.4720,113.7195);
	      var marker = createMarker(point, '<li><em>Eendracht<\/em> (2)<\/li>', '<div class="infobox withimage"><img src="accidental-landings-on-australias-west-coast-eendracht.jpg" /><p>Before resuming his course to the East Indies, Hartog charts a section of the Western Australian coast as far north as present-day North West Cape. The land becomes known as Eendrachtsland (&lsquo;the land of the <em>Eendracht<\/em>&rsquo;)<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-22.3247,113.8127);
	      var marker = createMarker(point, '<li><em>Zeewolf<\/em><\/li>', '<div class="infobox"><p><strong>11 May 1618<\/strong>: The Dutch ship <em>Zeewolf<\/em>, captained by Haevick Claeszoon, sights the Western Australian coast just north of Hartog&rsquo;s point of departure seventeen months earlier, but Claeszoon isn&rsquo;t sure if the coast is part of a mainland or a series of islands.<\/p><p>&ldquo;It would seem never to have been reached or discovered by anyone before,&rdquo; he writes, &ldquo;as we have not heard of it and the chart shows nothing but open sea there.&rdquo;<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-32.2871,115.7520);
	      var marker = createMarker(point, '<li><em>Dordrecht<\/em> and <em>Amsterdam<\/em> (1)<\/li>', '<div class="infobox withimage"><img src="accidental-landings-on-australias-west-coast-dordrecht.jpg" /><p><strong>19 July 1619<\/strong>: Frederick de Houtman and Jacob d&rsquo;Edel, commanding the Dutch ships <em>Dordrecht<\/em> and <em>Amsterdam<\/em> en route to the East Indies, sight the Western Australian coast just south of where Perth would later be founded.<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-28.6978,113.7854);
	      var marker = createMarker(point, '<li><em>Dordrecht<\/em> and <em>Amsterdam<\/em> (2)<\/li>', '<div class="infobox withimage"><img src="accidental-landings-on-australias-west-coast-dordrecht-2.jpg" /><p>de Houtman and d&rsquo;Edel sail north and discover the Wallabi, Easter and Pelsaert groups of islands. Houtman names these the Abrolhos Islands, writing that the shoals around the island are to be &ldquo;carefully avoided&rdquo;.<\/p><p>The Dutch captains also sight the island which Willem de Vlamingh, exploring the area in 1696, would later name Rottnest Island.<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-34.6603,115.9278);
	      var marker = createMarker(point, '<li><em>Leeuwin<\/em> (1)<\/li>', '<div class="infobox"><p><strong>March 1619<\/strong>: The <em>Leeuwin<\/em> (captain unknown) strikes the south-west coast of Australia.<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-34.2351,115.0251);
	      var marker = createMarker(point, '<li><em>Leeuwin<\/em> (2)<\/li>', '<div class="infobox withimage"><img src="accidental-landings-on-australias-west-coast-leeuwin.jpg" /><p>The <em>Leeuwin<\/em> then charts a short section of coast which becomes known as the Land van de Leeuwin (&lsquo;the land of the <em>Leeuwin<\/em>&rsquo;)<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-20.266667,115.383333);
	      var marker = createMarker(point, '<li><em>Tryall<\/em><\/li>', '<div class="infobox withimage"><img src="accidental-landings-on-australias-west-coast-tryall.jpg" /><p><strong>25 May 1622<\/strong>: English ship the <em>Tryall<\/em> becomes wrecked on a reef off the Western Australian coast.<\/p><p>The crew &mdash; 94 of whom are killed in the wreck &mdash; are the first Englishmen to see Australia.<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-35.0632,116.6302);
	      var marker = createMarker(point, '<li><em>Gulden Zeepaerdt<\/em> (1)<\/li>', '<div class="infobox"><p><strong>26 June 1627<\/strong>: Francois Thijssen, captain of the <em>Gulden Zeepaerdt<\/em>, strikes the Australian coast further south than any previous ship has done.<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-31.9900,132.4498);
	      var marker = createMarker(point, '<li><em>Gulden Zeepaerdt<\/em> (2)<\/li>', '<div class="infobox withimage"><img src="accidental-landings-on-australias-west-coast-zeepaerdt.jpg" /><p>Thijssen charts the southern coast all the way to the eastern part of what is now known as the Great Australian Bight. He names his discovery Nuytslandt, after a Dutch official named Peter Nuyts who is travelling on board.<\/p><p>Thijssen&rsquo;s voyage along Australia&rsquo;s southern coast puts a question mark over the existence of a great southern continent, as it&rsquo;s now apparent that the land upon which the Dutch have been landing probably isn&rsquo;t connected to the Antarctic continent believed to exist to the south.<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-21.0000,117.729492);
	      var marker = createMarker(point, '<li><em>Vyanen<\/em><\/li>', '<div class="infobox withimage"><img src="accidental-landings-on-australias-west-coast-vyanen.jpg" /><p><strong>1628<\/strong>: The Dutch ship <em>Vyanen<\/em> (or possibly <em>Vyana<\/em>), with commander Gerrit Frederikszoon De Witt on board, is nearly wrecked what is now known as Port Hedland while sailing from the East Indies to the Netherlands.<\/p><p>The crew have to throw some of their stores of pepper and copper overboard to lighten the ship enough to get it sailing again.<\/p><\/div>')
	      map.addOverlay(marker);

	      // Add contents to the legend div
	      document.getElementById("maplegend").innerHTML = legendcode;
	      
   		}
	      
	    else { alert("Sorry, the Google Maps API is not compatible with this browser"); }
	
		    // This Javascript is based on code provided by the
		    // Blackpool Community Church Javascript Team
		    // http://www.commchurch.freeserve.co.uk/   
		    // http://econym.googlepages.com/index.htm
		    
	    //]]>
