// JavaScript Document

/*
// Tried this one. Works in IE not Firefox.
var curdate = new Date()
var year = curdate.getYear()
document.write(year)

// Tried this one. Works in IE not Firefox.
var d = new Date()
document.write(d.getYear())
*/
RightNow = new Date();
var TheYear = RightNow.getFullYear()

if (TheYear >= 100 && TheYear <= 1999)
{TheYear=TheYear + 1900}
else
{TheYear=TheYear}
document.write(TheYear)