/*
** Gets the 4-digit year from a date (correcting for Y2K issues
** in early versions of Netscape Navigator and Microsoft IE)
*/
function getYYYY(d)
{
    var y = d.getYear();

    if (y < 1000) y+=1900;
    return y;
}
