var now = new Date();
var myyear = now.getFullYear();
document.write(myyear);