var currDate = new Date();
document.write(currDate.getFullYear());