var year = new Date();
var year2 = year.getYear();
document.write(year2);