<!--
function GetFullMonth(month){

  switch (month){
    case '01' :
      return 'January';
      break;
    case '02' :
      return 'February';
      break;
    case '03' :
      return 'March';
      break;
    case '04' :
      return 'April';
      break;
    case '05' :
      return 'May';
      break;
    case '06' :
      return 'June';
      break;
    case '07' :
      return 'July';
      break;
    case '08' :
      return 'August';
      break;
    case '09' :
      return 'September';
      break;
    case '10' :
      return 'October';
      break;
    case '11' :
      return 'November';
      break;
    case '12' :
      return 'December';
      break;
    case 10 :
      return 'October';
      break;
    case 11 :
      return 'November';
      break;
    case 12 :
      return 'December';
      break;
  }
}

function title (month, year){
  if (month < 10) {
    month = '0' + month;
  }
  return GetFullMonth(month) + ' ' + year;
}

function header (month, year, last, type){
  if (month == 1){
    yearprev = year - 1;
    monthprev = '12';
  }
  else {
    yearprev = year;
    monthprev = month - 1;
  }
  if (month == 12) {
    yearnext = year + 1;
    monthnext = 1;
  }
  else {
    yearnext = year;
    monthnext = month + 1;
  }

  if (month < 10) {
    month = '0' + month;
  }

  if (monthprev < 10) {
    monthprev = '0' + monthprev;
  }

  if (monthnext < 10) {
    monthnext = '0' + monthnext;
  }

  if (sType == 'm') {
    sTypeUrl = '';
    sInvType = 'f';
    sTypeText = 'freighters'
  }
  else {
    sTypeUrl = 'f';
    sInvType = '';
    sTypeText = 'movements'
  }
  document.write ('<TABLE border="0" cellpadding="0" cellspacing="1" width="100%">');
  document.write ('<TR>');
  document.write ('<TD class="movhead">');
  if (yearprev == 1999) {
    document.write ('&lt;&lt;&nbsp;' + GetFullMonth(monthprev) + ' ' + yearprev + '&nbsp;&lt;&lt;');
  }
  else {
    document.write ('<A HREF="../'+ yearprev + '/' + sTypeUrl + yearprev + monthprev + '.html" class="movhead">&lt;&lt;&nbsp;' + GetFullMonth(monthprev) + ' ' + yearprev + '&nbsp;&lt;&lt;</A>');
  }
  document.write ('</TD>');
  document.write ('<TD class="movhead">');
  document.write ('<A HREF="./' + sInvType + year + month + '.html" class="movhead">Click here for the ' + sTypeText + '</A>');
  document.write ('</TD>');
  document.write ('<TD class="movhead">');
  if (bLast == 'True') {
    document.write ('&gt;&gt;&nbsp;' + GetFullMonth(monthnext) + ' ' + yearnext + '&nbsp;&gt;&gt;');
  }
  else {
    document.write ('<A HREF="../'+ yearnext + '/' + sTypeUrl + yearnext + monthnext + '.html" class="movhead">&gt;&gt;&nbsp;' + GetFullMonth(monthnext) + ' ' + yearnext + '&nbsp;&gt;&gt;</A>');
  }
  document.write ('</TD>');
  document.write ('</TR>');
  document.write ('<TR>');
  document.write ('<TD colspan="3">');
  document.write ('&nbsp;');
  document.write ('</TD>');
  document.write ('</TR>');
  document.write ('</TABLE>');

}
// -->