//<![CDATA[

  function loadTrackDone10(map,density,colour,lineThickness) {

 // Creates a marker whose information window displays the location, date etc.
 
      function createMarker(point,iconOf,locationOf,dateOf,distanceOf,linkOf) {
        var marker = new GMarker(point,iconOf);
      
        // Show this marker's index in the info window when it is clicked
        var html = 'Location: <A HREF="' + linkOf + '.htm">' + locationOf + '</A><BR>Date: <b>' 
                   + dateOf +'</b><BR>Distance: <b>' +distanceOf + ' km</b>';

        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
      
        return marker;
      }

    var iconRed = new GIcon();
    iconRed.image = "http://www.xor.org.uk/silkroute/panam2006/graphics/reddot.png";
    iconRed.iconSize = new GSize(11, 11);
    iconRed.iconAnchor = new GPoint(5, 5);
    iconRed.infoWindowAnchor = new GPoint(5, 5);

    var iconMog = new GIcon();
    iconMog.image = "http://www.xor.org.uk/silkroute/panam2006/graphics/mogdot.png";
    iconMog.iconSize = new GSize(26, 17);
    iconMog.iconAnchor = new GPoint(13, 8);
    iconMog.infoWindowAnchor = new GPoint(13, 8);

//------------------------------------------------------------------------------------

//    var points = [];

//    points.push(new GPoint(0.0,60.0)); //Test 1
//    points.push(new GPoint(-10.0,50.0)); //Test 2

//    map.addOverlay(new GPolyline(points,colour,lineThickness,density));

//    var point = new GPoint(-1.41933,50.90345);
//    var marker = createMarker(point,iconRed,"Southampton","Now","0","20051201");
//    map.addOverlay(marker);

  }

//]]>
