document.write("08/01/2001 - 08/31/2001
") document.write("10/01/2001 - 10/31/2001
") if (location.href.indexOf("archive") != -1) { document.write("current >>") }