function mailadd (which) {
   var one = "office@";
   var two = "vicol.c";
   var three = "o.uk";
   if (which ==2) {one = "iain@";}
   return one+two+three;
}
function mailtag (which,subject) {
   return '<a href=\"mailto:' + mailadd(which) + '?subject=' + subject + '\">';
}
function maillink (which,text,subject) {
   if (!text) text = mailadd(which);
   if (!subject) subject = "Email from Vicol web site";
   return mailtag(which,subject) + text + "</a>";
}

function correctedYear(year) {
// required for Netscape
    year = year - 0;
    if (year < 70) return (2000 + year);
    if (year < 1900) return (1900 + year);
    return year;
}

function thisYear() {
    date = new Date();
    return correctedYear(date.getYear());
}

