var theDate = new Date();
document.write(theDate.getYear() < 1000 ? theDate.getYear() + 1900 : theDate.getYear());
