var points = new Array();points.push(new GLatLng(28.0897,-17.1094));
points.push(new GLatLng(27.8364,-17.1928));
points.push(new GLatLng(27.5989,-17.3792));
points.push(new GLatLng(27.2336,-17.3347));
points.push(new GLatLng(26.8058,-17.3172));
points.push(new GLatLng(26.5364,-17.4506));
points.push(new GLatLng(26.6053,-17.5961));
points.push(new GLatLng(26.4714,-17.8936));
points.push(new GLatLng(26.0911,-18.0931));
points.push(new GLatLng(25.745,-18.4322));
points.push(new GLatLng(25.3925,-18.6439));
points.push(new GLatLng(25.1017,-19.1533));
points.push(new GLatLng(24.9722,-19.4089));
points.push(new GLatLng(24.8369,-19.8917));
points.push(new GLatLng(24.7483,-20.3564));
points.push(new GLatLng(24.5411,-20.7369));
points.push(new GLatLng(24.3228,-21.0242));
points.push(new GLatLng(24.0783,-21.5111));
points.push(new GLatLng(23.8028,-21.8533));
points.push(new GLatLng(23.4936,-22.1831));
points.push(new GLatLng(23.2889,-22.5964));
points.push(new GLatLng(23.0636,-22.985));
points.push(new GLatLng(22.8178,-23.3481));
points.push(new GLatLng(22.6944,-23.6917));
points.push(new GLatLng(22.5906,-24.0086));
points.push(new GLatLng(22.4628,-24.3078));
points.push(new GLatLng(22.3797,-24.665));
points.push(new GLatLng(22.2492,-24.9161));
points.push(new GLatLng(22.11,-25.2861));
points.push(new GLatLng(21.9911,-25.5825));
points.push(new GLatLng(21.8894,-25.8547));
points.push(new GLatLng(21.7814,-26.1553));
points.push(new GLatLng(21.7894,-26.2917));
points.push(new GLatLng(21.5933,-26.8228));
points.push(new GLatLng(21.4186,-27.2369));
points.push(new GLatLng(21.3258,-27.7075));
points.push(new GLatLng(21.2481,-28.0167));
points.push(new GLatLng(21.0967,-28.3706));
points.push(new GLatLng(20.9933,-28.7594));
points.push(new GLatLng(20.7778,-29.1856));
points.push(new GLatLng(20.5611,-29.5586));
points.push(new GLatLng(20.3581,-29.9975));
points.push(new GLatLng(20.2211,-30.3461));
points.push(new GLatLng(20.1142,-30.7811));
points.push(new GLatLng(20.015,-31.2189));
points.push(new GLatLng(19.9717,-31.5042));
points.push(new GLatLng(19.8894,-31.7811));
points.push(new GLatLng(19.8214,-32.0775));
points.push(new GLatLng(19.7869,-32.2903));
points.push(new GLatLng(19.785,-32.4328));
points.push(new GLatLng(19.8864,-32.4817));
points.push(new GLatLng(19.8828,-32.4442));
points.push(new GLatLng(19.9111,-32.455));
points.push(new GLatLng(19.9694,-32.4272));
points.push(new GLatLng(20.0756,-32.3947));
points.push(new GLatLng(20.1081,-32.3503));
points.push(new GLatLng(20.16,-32.3008));
points.push(new GLatLng(20.1633,-32.2528));
points.push(new GLatLng(20.1572,-32.2419));
points.push(new GLatLng(20.1567,-32.2392));
points.push(new GLatLng(20,-32.3392));
points.push(new GLatLng(19.8314,-32.4847));
points.push(new GLatLng(19.6797,-32.6494));
points.push(new GLatLng(19.3936,-32.9547));
points.push(new GLatLng(19.1231,-33.31));
points.push(new GLatLng(18.9511,-33.7231));
points.push(new GLatLng(18.8153,-34.16));
points.push(new GLatLng(18.7617,-34.5894));
points.push(new GLatLng(18.7639,-34.9772));
points.push(new GLatLng(18.7086,-35.2775));
points.push(new GLatLng(18.6317,-35.5256));
points.push(new GLatLng(18.6072,-35.8239));
points.push(new GLatLng(18.5903,-36.1058));
points.push(new GLatLng(18.5211,-36.3844));
points.push(new GLatLng(18.4742,-36.8578));
points.push(new GLatLng(18.4108,-37.3142));
points.push(new GLatLng(18.3222,-37.7631));
points.push(new GLatLng(18.2436,-38.1958));
points.push(new GLatLng(18.1589,-38.5806));
points.push(new GLatLng(18.0969,-38.9289));
points.push(new GLatLng(18.0339,-39.3381));
points.push(new GLatLng(18.0297,-39.7097));
points.push(new GLatLng(18.0147,-39.9914));
points.push(new GLatLng(17.9522,-40.2778));
points.push(new GLatLng(17.9142,-40.5678));
points.push(new GLatLng(17.8939,-40.7597));
points.push(new GLatLng(17.8578,-40.9117));
points.push(new GLatLng(17.8592,-40.9892));
points.push(new GLatLng(17.8022,-41.0931));
points.push(new GLatLng(17.7567,-41.2689));
points.push(new GLatLng(17.7142,-41.5878));
points.push(new GLatLng(17.7378,-41.8789));
points.push(new GLatLng(17.7375,-42.2108));
points.push(new GLatLng(17.7233,-42.6394));
points.push(new GLatLng(17.6617,-42.9358));
points.push(new GLatLng(17.6742,-43.2006));
points.push(new GLatLng(17.6733,-43.4525));
points.push(new GLatLng(17.6519,-43.7178));
points.push(new GLatLng(17.6156,-43.9061));
points.push(new GLatLng(17.635,-44.1344));
points.push(new GLatLng(17.6633,-44.4328));
points.push(new GLatLng(17.6958,-44.6672));
points.push(new GLatLng(17.7322,-44.8472));
points.push(new GLatLng(17.7317,-45.0022));
points.push(new GLatLng(17.6861,-45.1981));
points.push(new GLatLng(17.6325,-45.3322));
points.push(new GLatLng(17.5864,-45.4331));
points.push(new GLatLng(17.5508,-45.5678));
points.push(new GLatLng(17.5272,-45.7358));
points.push(new GLatLng(17.5756,-45.8906));
points.push(new GLatLng(17.6117,-45.9947));
points.push(new GLatLng(17.5261,-46.2125));
points.push(new GLatLng(17.5303,-46.4886));
points.push(new GLatLng(17.5358,-46.74));
points.push(new GLatLng(17.5894,-46.8275));
points.push(new GLatLng(17.6281,-46.8719));
points.push(new GLatLng(17.6242,-46.9375));
points.push(new GLatLng(17.5947,-46.8331));
points.push(new GLatLng(17.5783,-46.8361));
points.push(new GLatLng(17.5478,-46.8131));
points.push(new GLatLng(17.4481,-46.88));
points.push(new GLatLng(17.3633,-46.8867));
points.push(new GLatLng(17.3778,-47.0486));
points.push(new GLatLng(17.2408,-47.1039));
points.push(new GLatLng(17.1125,-47.2069));
points.push(new GLatLng(17.1297,-47.6703));
points.push(new GLatLng(17.2292,-48.0014));
points.push(new GLatLng(17.2586,-48.3211));
points.push(new GLatLng(17.2997,-48.6203));
points.push(new GLatLng(17.2803,-48.8989));
points.push(new GLatLng(17.2139,-49.3342));
points.push(new GLatLng(17.1967,-49.7161));
points.push(new GLatLng(17.2289,-50.1142));
points.push(new GLatLng(17.2061,-50.4361));
points.push(new GLatLng(17.1422,-50.8061));
points.push(new GLatLng(17.0744,-51.0906));
points.push(new GLatLng(17.0214,-51.3708));
points.push(new GLatLng(17.0453,-51.6556));
points.push(new GLatLng(17.0658,-51.9131));
points.push(new GLatLng(17.1161,-52.0328));
points.push(new GLatLng(17.0964,-52.2356));
points.push(new GLatLng(17.1022,-52.5028));
points.push(new GLatLng(17.0592,-52.7019));
points.push(new GLatLng(17.0217,-53.0122));
points.push(new GLatLng(17.0431,-53.2311));
points.push(new GLatLng(17.0481,-53.6142));
points.push(new GLatLng(17.0914,-53.8981));
points.push(new GLatLng(17.0989,-54.1853));
points.push(new GLatLng(17.1228,-54.4133));
points.push(new GLatLng(17.0653,-54.5564));
points.push(new GLatLng(17.0081,-54.7467));
points.push(new GLatLng(17.0131,-54.8958));
points.push(new GLatLng(16.9794,-55.0653));
points.push(new GLatLng(16.9661,-55.2894));
points.push(new GLatLng(16.9744,-55.6072));
points.push(new GLatLng(16.9828,-56.1169));
points.push(new GLatLng(16.9308,-56.4942));
points.push(new GLatLng(16.995,-56.8842));
points.push(new GLatLng(17.025,-57.155));
points.push(new GLatLng(17.1117,-57.4714));
points.push(new GLatLng(17.1728,-57.7331));
points.push(new GLatLng(17.1797,-57.9892));
points.push(new GLatLng(17.2236,-58.1853));
points.push(new GLatLng(17.1644,-58.4319));
points.push(new GLatLng(17.0692,-58.7678));
points.push(new GLatLng(17.0236,-59.1903));
points.push(new GLatLng(17.0436,-59.5578));
points.push(new GLatLng(17.0539,-59.7358));
points.push(new GLatLng(17.0361,-59.8994));
points.push(new GLatLng(16.9644,-60.1894));
points.push(new GLatLng(16.9603,-60.5983));
points.push(new GLatLng(16.9839,-61.0486));
points.push(new GLatLng(16.9953,-61.3231));
points.push(new GLatLng(16.9872,-61.3672));
points.push(new GLatLng(16.9886,-61.415));
points.push(new GLatLng(16.9886,-61.4611));
points.push(new GLatLng(16.9861,-61.5089));
points.push(new GLatLng(16.9828,-61.555));
points.push(new GLatLng(16.9853,-61.5967));
points.push(new GLatLng(16.985,-61.6422));
points.push(new GLatLng(16.9839,-61.6897));
points.push(new GLatLng(16.9844,-61.7389));
points.push(new GLatLng(16.9972,-61.75));

				var p = new GLatLng(16.9972,-61.75);
				var icon = new GIcon();
				icon.image = "http://www.indianoceanrowingrace09.com/images/boats/FFCC33.png";
				icon.iconSize = new GSize(11, 11);
				icon.iconAnchor = new GPoint(5, 5);
				var marker22 = new GMarker(p,icon);
				map.addOverlay(marker22);

				var icon = new GIcon();
				icon.image = "http://www.indianoceanrowingrace09.com/images/arrows/0.png";
				icon.iconSize = new GSize(15, 15);
				icon.iconAnchor = new GPoint(7, 7);
				icon.infoWindowAnchor = new GPoint(7, 7);
				var arrMarker22 = new GMarker(p,icon);
				//if (typeof(infowindow) != "undefined" && infowindow == true){
					GEvent.addListener(arrMarker22, "mouseover", function() {this.openInfoWindowHtml("<div class=\"google-tooltip\">26 Explore<br><a href=\"/progress/byteam/22\">View Progress</a></div>");});
				//}
				//GEvent.addListener(arrMarker22, "mouseout", function() {map.closeInfoWindow();});
				map.addOverlay(arrMarker22);
				var p = new GPolyline(points,"#ffcc33",3);map.addOverlay(p);
if (!Event.domReady){
	/**
	 * domready.js
	 * 
	 * Cross browser mozilla's 'onDOMContentLoaded' implementation.
	 * Executes a function when the dom tree is loaded without waiting for images.
	 * 
	 * Based on +Element.Events.domready+ from Mootools open source project, 
	 * this tiny javascript library adds the emulated 'DOMContentLoaded' functionality.
	 * 
	 * Features:
	 *   - No dependency on external libraries
	 *   - Compatible with Prototype.js 
	 * 
	 * Tested browsers (Windows):
	 *   - IE 7 (XP standalone)
	 *   - IE 6 SP2
	 *   - Firefox 2.0.0.4
	 *   - Opera 9.21
	 * 
	 * Tested browsers (Mac OS X):
	 *   - Safari 2.0.4
	 *   - Firefox 2.0.0.4
	 *   - Mac Opera 9.21
	 *   - Mac IE 5.2.3
	 *
	 * Copyright (c) 2007 Takanori Ishikawa.
	 * License: MIT-style license.
	 * 
	 * MooTools Copyright:
	 * copyright (c) 2007 Valerio Proietti, <http://mad4milk.net>
	 *
	 *
	 * See Also:
	 *
	 *   mootools 
	 *   http://mootools.net/
	 *   
	 *   The window.onload Problem - Solved!
	 *   http://dean.edwards.name/weblog/2005/09/busted/
	 *   
	 *   [PATCH] Faster onload for Event.onload
	 *   http://dev.rubyonrails.org/ticket/5414
	 *   Changeset 6596: Support for "DOMContentLoaded" event handling (prototype.js event branch)
	 *   http://dev.rubyonrails.org/changeset/6596
	 *
	 */
	
	if (typeof Event == 'undefined') Event = new Object();
	
	/*
	 * Registers function +fn+ will be executed when the dom 
	 * tree is loaded without waiting for images. 
	 * 
	 * Example:
	 *
	 *  Event.domReady.add(function() {
	 *    ...
	 *  });
	 *
	 */
	Event.domReady = {
	  add: function(fn) {
		
		//-----------------------------------------------------------
		// Already loaded?
		//-----------------------------------------------------------
		if (Event.domReady.loaded) return fn();
		
		//-----------------------------------------------------------
		// Observers
		//-----------------------------------------------------------
		var observers = Event.domReady.observers;
		if (!observers) observers = Event.domReady.observers = [];
		// Array#push is not supported by Mac IE 5
		observers[observers.length] = fn;
		
		//-----------------------------------------------------------
		// domReady function
		//-----------------------------------------------------------
		if (Event.domReady.callback) return;
		Event.domReady.callback = function() {
		  if (Event.domReady.loaded) return;
		  
		  Event.domReady.loaded = true;
		  if (Event.domReady.timer) {
			clearInterval(Event.domReady.timer);
			Event.domReady.timer = null;
		  }
		  
		  var observers = Event.domReady.observers;
		  for (var i = 0, length = observers.length; i < length; i++) {
			var fn = observers[i];
			observers[i] = null;
			fn(); // make 'this' as window
		  }
		  Event.domReady.callback = Event.domReady.observers = null;
		};
		
		//-----------------------------------------------------------
		// Emulates 'onDOMContentLoaded'
		//-----------------------------------------------------------
		var ie = !!(window.attachEvent && !window.opera);
		var webkit = navigator.userAgent.indexOf('AppleWebKit/') > -1;
		
		if (document.readyState && webkit) {
		  
		  // Apple WebKit (Safari, OmniWeb, ...)
		  Event.domReady.timer = setInterval(function() {
			var state = document.readyState;
			if (state == 'loaded' || state == 'complete') {
			  Event.domReady.callback();
			}
		  }, 50);
		  
		} else if (document.readyState && ie) {
		  
		  // Windows IE 
		  var src = (window.location.protocol == 'https:') ? '://0' : 'javascript:void(0)';
		  document.write(
			'<script type="text/javascript" defer="defer" src="' + src + '" ' + 
			'onreadystatechange="if (this.readyState == \'complete\') Event.domReady.callback();"' + 
			'><\/script>');
		  
		} else {
		  
		  if (window.addEventListener) {
			// for Mozilla browsers, Opera 9
			document.addEventListener("DOMContentLoaded", Event.domReady.callback, false);
			// Fail safe 
			window.addEventListener("load", Event.domReady.callback, false);
		  } else if (window.attachEvent) {
			window.attachEvent('onload', Event.domReady.callback);
		  } else {
			// Legacy browsers (e.g. Mac IE 5)
			var fn = window.onload;
			window.onload = function() {
			  Event.domReady.callback();
			  if (fn) fn();
			}
		  }
		  
		}
		
	  }
	}	
}

Event.domReady.add(function() {
	/** causes other overlays to not work. js error? */
	// Woodvale Watermark
	var myCopyright = new GCopyrightCollection("copyright");
	//myCopyright.addCopyright(new GCopyright(1,new GLatLngBounds(new GLatLng(-90,-180), new GLatLng(90,180)),0,'©2009 Woodvale Events'));
	
	// Create the tile layer overlay and
	// implement the three abstract methods
	var tilelayer = new GTileLayer(myCopyright);
	tilelayer.getTileUrl = function(tile,zoom) { return "http://www.atlanticrowingrace09.com/images/layout/woodvale_watermark.png"; };
	tilelayer.isPng = function() { return true;};
	tilelayer.getOpacity = function() { return 0.1; }
	
	var myTileLayer = new GTileLayerOverlay(tilelayer);
	map.addOverlay(myTileLayer);
	/**/
});