path = window.location.pathname;
splitPath = path.split('/');
if ((splitPath[2] == "") || (splitPath[2] == "index.html")) {
  main = 'true';
}
else { main = 'false' }
var mname = new Array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec')
today = new Date();
year = today.getFullYear();
i = today.getMonth()
document.write('<table cellspacing="0" cellpadding="0" width="90%" border="0">');
do {
  document.write('<tr><td class="archives"><font color="blue">' + year + ':&nbsp;&nbsp;</font></td><td class="archives" width="95%">');
  if (year==2000) first = 10;
  else { first = 0 };
  for (i;i>=first;i--){
    mo = i + 1
    if (mo<=9) { mo = '0' + mo }
    archfile = year+'_'+mo+'_01_archiveagogo.html';
    if (archfile != splitPath[3]) {
      document.write('<a href="'+ archfile + '">');
    }
    document.write(mname[i])
    if (archfile != splitPath[3]) {
      document.write('</a>');
    }
    if (i != first) {
      document.write(' . ');
    }
  }
  i = 11;
  document.write('</td></tr>');
  } while ( --year > 1999 );

if (main != 'true') {
  document.write('<tr><td colspan="2" align="center" class="archives"><a href="index.html">back to main</a></td></tr>');
}

document.write('</table>');
