  dat = new Date();
  year = dat.getYear();
  year = (year < 2000) ? year+1900 : year ;

