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

