prdate = new Date();
prlocal  = prdate.toGMTString();
regexp = /\d\d\d\d/;
pryear = regexp.exec(prlocal);
document.write(pryear);