document.write("09/29/2002 - 10/05/2002") if (location.href.indexOf("archive") != -1) { document.write("current") }