var Months = ['January','February','March','April','May','June','July','August','September','October','November','December']; function formatDate(DateSpan) { var DisplayDate; DisplayDate = new Date(DateSpan.split(' - ')[0]); var MonthNumber = DisplayDate.getMonth() % 12; document.write("
"); } formatDate('02/01/2002 - 02/28/2002'); formatDate('03/01/2002 - 03/31/2002'); formatDate('04/01/2002 - 04/30/2002'); formatDate('05/01/2002 - 05/31/2002'); formatDate('06/01/2002 - 06/30/2002'); formatDate('07/01/2002 - 07/31/2002'); formatDate('08/01/2002 - 08/31/2002'); formatDate('09/01/2002 - 09/30/2002'); formatDate('10/01/2002 - 10/31/2002'); formatDate('11/01/2002 - 11/30/2002'); formatDate('12/01/2002 - 12/31/2002'); formatDate('01/01/2003 - 01/31/2003'); formatDate('02/01/2003 - 02/28/2003'); formatDate('03/01/2003 - 03/31/2003'); formatDate('04/01/2003 - 04/30/2003'); formatDate('05/01/2003 - 05/31/2003'); formatDate('06/01/2003 - 06/30/2003'); formatDate('07/01/2003 - 07/31/2003'); formatDate('08/01/2003 - 08/31/2003'); formatDate('09/01/2003 - 09/30/2003'); formatDate('10/01/2003 - 10/31/2003'); formatDate('11/01/2003 - 11/30/2003'); formatDate('12/01/2003 - 12/31/2003'); formatDate('01/01/2004 - 01/31/2004'); formatDate('02/01/2004 - 02/29/2004'); formatDate('03/01/2004 - 03/31/2004'); formatDate('04/01/2004 - 04/30/2004'); formatDate('05/01/2004 - 05/31/2004'); formatDate('06/01/2004 - 06/30/2004'); formatDate('07/01/2004 - 07/31/2004'); formatDate('08/01/2004 - 08/31/2004'); formatDate('09/01/2004 - 09/30/2004'); formatDate('10/01/2004 - 10/31/2004'); formatDate('11/01/2004 - 11/30/2004'); formatDate('12/01/2004 - 12/31/2004'); formatDate('01/01/2005 - 01/31/2005'); if (location.href.indexOf("archive") != -1) { document.write("Current >>"); }