var d = new Date();
var currYear = d.getFullYear();
document.write(currYear);

