/*******************************************************************************
 calendartoday.js
 This file handles the JavaScript for the Calendar.   It gets one to today's date
 in the Calendar when clicking the Calendar button.   Each year, the yr must 
 change to the current yr.
 *******************************************************************************/

function gotoToday() {
   with (new Date()) { yr=getFullYear(); mo=getMonth()+ 1 };
   if (yr == 2010 && mo == 1) {
   window.location.href = "calendar/index.htm";
 } else {
   if (mo < 10) mo = "0" + mo;
   window.location.href ="calendar/wc" + yr + mo + ".htm";
 }
}
