﻿var year="";
mydate=new Date();
myyear= mydate.getYear();
year=(myyear > 200) ? myyear : 1900 + myyear;
document.write(year);

