
  now = new Date
  thisYear = now.getFullYear()
  thisMonth = now.getMonth()
  thisDate = now.getDate()
  thisWeekday = now.getDay()
  thisTime = now.getTime() 

weekdayName = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
weekdayAbbrev = new Array ("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat");
weekdayIndex = thisWeekday % weekdayName.length;

monthName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");   
monthAbbrev = new Array( "Jan.", "Feb.", "Mar.", "Apr.","May", "June", "July", "Aug.", "Sept.", "Oct.", "Nov.", "Dec.");
monthArray = new Array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12");
monthIndex = thisMonth % monthName.length;

dateArray = new Array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31");
dateIndex = (thisDate - 1) % dateArray.length;

yearName = new Array("2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013");
yearArray = new Array("01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13");
yearIndex = (thisYear - 2001) % yearArray.length;
