	    //<![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(-4.583333, 129.916667), 6);
			
	      // Add the markers
	      var point = new GLatLng(-4.583333, 129.916667);
	      var marker = createMarker(point, '<li>Setting sail<\/li>', '<div class="infobox withimage"><img src="voyage-of-the-duyfken-setting-sail.jpg" /><p>The <em>Duyfken<\/em> departs from the Banda Islands in November 1605.<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-5.539446,132.907104);
	      var marker = createMarker(point, '<li>Kei Islands<\/li>', '<div class="infobox withimage"><img src="voyage-of-the-duyfken-kei-islands.jpg" /><p>The <em>Duyfken<\/em> sails east-south-east to the Kei island group...<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-5.550381,134.395752);
	      var marker = createMarker(point, '<li>Aru<\/li>', '<div class="infobox withimage"><img src="voyage-of-the-duyfken-aru.jpg" /><p>...and then to the island of Aru...<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-6.8828,138.581543);
	      var marker = createMarker(point, '<li>New Guinea<\/li>', '<div class="infobox withimage"><img src="voyage-of-the-duyfken-new-guinea.jpg" /><p>...then reaches the coast of New Guinea (present-day Papua New Guinea). It&rsquo;s thought Janszoon may have tried to sail through the narrow strait to the south, but ended up setting a south-west course back out to sea.<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-10.039176,138.059692);
	      var marker = createMarker(point, '<li>Into the gulf<\/li>', '<div class="infobox"><p>The <em>Duyfken<\/em> enters the Gulf of Carpentaria.<\/p><\/div>')
	      map.addOverlay(marker);

	      var point = new GLatLng(-12.2167,141.7333);
	      var marker = createMarker(point,'<li>A historic landfall<\/li>','<div class="infobox withimage"><img src="voyage-of-the-duyfken-landfall.jpg" /><p>The <em>Duyfken<\/em> lands on the Australian coast at what is now known as Pennefather River, probably in March 1606. This is the first known European landing on Australian soil. Janszoon marks this point &lsquo;River with the bush&rsquo;<\/p><\/div>')
	      map.addOverlay(marker);
	
	      var point = new GLatLng(-13.56667,141.5667);
	      var marker = createMarker(point,'<li>A spot of fishing<\/li>','<div class="infobox"><p>Janszoon names this area &lsquo;River with fisch&rsquo; on his chart; the crew, probably running low on supplies, may have stopped here to catch some fresh fish.<\/p><\/div>')
	      map.addOverlay(marker);
	
	      var point = new GLatLng(-13.9167,141.4667);
	      var marker = createMarker(point,'<li>Cape Keerweer<\/li>','<div class="infobox"><p>This is as far south as the <em>Duyfken<\/em> sails during its exploration of Australia. Janszoon and his crew, probably only equipped for a six month voyage, have been sailing for about four months, and have found nothing they consider to be of value. Janszoon names this point Cape Keerweer, meaning &lsquo;turn again&rsquo; in Dutch.<\/p><\/div>')
	      map.addOverlay(marker);
	
	      var point = new GLatLng(-11.946632,141.92276);
	      var marker = createMarker(point,'<li>Deadly encounter<\/li>','<div class="infobox"><p>Having turned back at Cape Keerweer, the <em>Duyfken<\/em> follows the coast to the north, passing its original landfall, and lands at Batavia River (now Wenlock River). There is a fight between the crew and the local Yupyngath people, and from the journal of Jan Carstenszoon we know that one of Janszoon&rsquo;s crewmen is killed.<\/p><\/div>')
	      map.addOverlay(marker);
	
	      var point = new GLatLng(-10.671404,142.106094);
	      var marker = createMarker(point,'<li>Prince of Wales Island<\/li>','<div class="infobox withimage"><img src="voyage-of-the-duyfken-prince-of-wales-island.jpg" /><p>Sailing north past the tip of Cape York, the <em>Duyfken<\/em> lands a boat at what is now known as Prince of Wales Island. Janzoon names it <em>Hooght eylant</em> (the High Island). Note that the name &lsquo;New Guinea&rsquo; is given to Cape York Peninsula; the Dutch may have believed this land was connected to what we now know as Papua New Guinea to the north.<\/p><\/div>')
	      map.addOverlay(marker);
	
	      var point = new GLatLng(-9.746956,141.800537);
	      var marker = createMarker(point,'<li>The &lsquo;vile reefs&rsquo;<\/li>','<div class="infobox withimage"><img src="voyage-of-the-duyfken-vile-reefs.jpg" /><p>Janszoon and his crew strike the reefs at the western entrance to Torres Strait. Janszoon marks the area &lsquo;<em>Vuyle bancken</em>&rsquo;, or &lsquo;vile reefs&rsquo;<\/p><\/div>')
	      map.addOverlay(marker);
	
	      var point = new GLatLng(-4.45,135.25);
	      var marker = createMarker(point,'<li>Return to New Guinea<\/li>','<div class="infobox withimage"><img src="voyage-of-the-duyfken-return-to-new-guinea.jpg" /><p>Making its return course to Banda, the <em>Duyfken<\/em> lands on the coast of New Guinea once more (present-day Indonesian Papua), this time north of the Kei and Aru Islands. The Dutch call this land <em>Os Papuas<\/em>. Dutch maps of this era show Os Papuas as being separate from New Guinea.<\/p><\/div>')
	      map.addOverlay(marker);
	
	      var point = new GLatLng(-4.583333, 129.916667);
	      var marker = createMarker(point, '<li>Return to Banda<\/li>', '<div class="infobox"><p>The <em>Duyfken<\/em> arrives back in Banda at the end of May 1606.<\/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
		    
	    //]]>
