
function printMarried()
{
    // Get today's date
    now = new Date()

    // Millenium correction
    thisYear = now.getYear() < 1900 ? now.getYear() + 1900 : now.getYear()

    married = thisYear - 1967

    // Adjust for dates before 9 September
    // (months counted from January = 0, February = 1, etc. Potty!)
    if (now.getMonth() < 8 || (now.getMonth() == 8 && now.getDate() < 9))
    {
        married--
    }
    document.write("for " + married + " years")
}


function openwin(url,name,width,height,scrollbars) {
	var properties = "'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=" + scrollbars + ",width=" + width + ",height=" + height + ",resizable=0'";
  window.open(url,name,properties);
}
