function getCurrentYear () {
    d = new Date();
    return d.getFullYear();
}
