// get the year to display in the copyright var theDate,theYear; var theDate = new Date(); theDate.setTime(theDate.getTime()); theYear = theDate.getFullYear();