function showHelpText(content) {
  var container = document.getElementById('help_text_container');
  container.innerHTML = content;
}

function hideHelpText() {
  document.getElementById('help_text_container').innerHTML = '';
}

var helpZoom = 'By pressing the button ZOOM +/- you change the scale of the map.'
         + '<br />'
         + 'Choose between different maps: Map - Satellite - Hybrid.';// Hybrid is '
         + 'a satellite picture with map information.'
         + '<br /><br />'
         + 'If a satellite picture is missing, change to the Map view. The '
         + 'variation among the satellite pictures depends on the pictures have'
        + ' been taken by different satellites.';

var helpFullScreen =
    'The map opens up in a new window where the map fills up the whole screen. '
  + ' To leave the "Fullscreen"  close the window. If a new window does not '
  + 'open, disable any pop-up blockers.';

var helpLeaders = 'Current race';
//    'A list over the first 5 reported teams at the latest checkpoint. The list '
//  + 'will be updated when the 5 first teams has been reported at the next '
//  + 'checkpoint.';

var helpScoreboard =
    'Information about Archipelago Raids total results opens up in a new '
  + 'window. The Score stands for the total result in the Race, regardless of '
  + 'the teams positions at each leg. If a new window does not open, disable '
  + 'any pop-up blockers.';

var helpTeams = 
    'Information about the teams opens up in a new window. If a new window does'
  + ' not open, disable any pop-up blockers.';

var helpFavourites =
    'Here you can select your favourite teams from a list with all boats. Only '
  + 'the selected teams will then be shown on the Livetracker map.';

var helpOverview =
    'This is a description of the race course. with the start and finish of each'
  + ' leg. Checkpoints are not included in the course overview as they will be '
  + 'public just before the start of each leg.';

var helpShowTracks =
  'Check the box to enable each visible team\'s track.';
//  'You may choose to view each visible team\'s track for the current race or '
//  + 'all races in the event. Having tracks visible for all races makes the page'
//  + ' load slower and may slow your browser down, especially after several races.';

//helpShowTracks = 'Check this box to view all visible teams\' tracks';

var helpLastEvent =
    'The last event positioned by Livetracker.';

var helpNextEvent =
    'The next scheduled event that will be positioned by Livetracker.';

var helpStartFinish =
    'The start-finish bar represents the race\'s time axel.';

var helpPositioning =
    'The Livetracker unit registers the boats exact position with GPS';// following'
 + ' a certain time cycle. The publication of the positions can be affected by'
 + ' local communication conditions. The position will be updated with a 10 '
 + 'minute interval.'//.00-24.00. Between 00.01-05.59 there may be '
 // + 'longer intervals.'
 // + '<br />'
 // + 'The result at each checkpoint is manually reported by the race officials.'/*
  //+ '<br /><br />'
//  + ' and report the position with GSM. Therefore it might be spots without reporting in a race.';
 + 'Possible reasons why a position of a team is not available:'
  + '<ul>'
  + '<li>GSM coverage is missing. When coverage is available again the missing'
  + 'position will be sent to Livetracker.</li>'
  + '<li>Team retired</li>'
  + '<li>Unit failure ? Broken units will replaced as soon as possible</li>';
 // + '<br /><br />'
 // + 'The GPS time and date of the position. Local time Sweden.';

