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