document.write("11/01/2002 - 11/30/2002") document.write("12/01/2002 - 12/31/2002") document.write("01/01/2003 - 01/31/2003") document.write("02/01/2003 - 02/28/2003") if (location.href.indexOf("archive") != -1) { document.write("current") }