 calendar = new Date();
 day = calendar.getDay();
 month = calendar.getMonth();
 date = calendar.getDate();
 year = calendar.getYear();
 if (year < 1000)
 year+=1900
 cent = parseInt(year/100);
 g = year % 19;
 k = parseInt((cent - 17)/25);
 i = (cent - parseInt(cent/4) - parseInt((cent - k)/3) + 19*g + 15) % 30;
 i = i - parseInt(i/28)*(1 - parseInt(i/28)*parseInt(29/(i+1))*parseInt((21-g)/11));
 j = (year + parseInt(year/4) + i + 2 - cent + parseInt(cent/4)) % 7;
 l = i - j;
 emonth = 3 + parseInt((l + 40)/44);
 edate = l + 28 - 31*parseInt((emonth/4));
 emonth--;
 gfdate = edate-2;
 gfmonth = emonth;
 if (gfdate <= 0) {gfdate = 31 + gfdate; gfmonth--;}
 psdate = edate - 7;
 psmonth = emonth;
 if (psdate <= 0) {psdate = 31 + psdate; psmonth--;}
 var dayname = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
 var monthname = 
 new Array ("January","February","March","April","May","June","July","August","September","October","November","December" );
 //document.write("<font face=verdana,arial size=2><font color=000000>");
 document.write("<font color=000000>");
 document.write(dayname[day] + "<BR>");
 document.write(monthname[month] + " ");
 if (date< 10) document.write("0" + date + ", ");
         else document.write(date + ", ");
 document.write(year + " <br></font><font color=FF0000>");
 // Good Friday
 if ((month == gfmonth) && (date == gfdate)) document.write("Good Friday <br>");
 // Palm Sunday
 if ((month == psmonth) && (date == psdate)) document.write("Palm Sunday <br>");
 // Easter
 if ((month == emonth) && (date == edate)) document.write("Easter Sunday <br>");
 // January
 if ((month == 0) && (date == 1)) document.write("New Year's Day <br>");
 // February
 if ((month == 1) && (date == 2)) document.write("Groundhog Day <br>");
 if ((month == 1) && (date== 12)) document.write("Lincoln's Birthday <br>");
 if ((month == 1) && (date == 14)) document.write("St. Valentine's Day <br>");
 if ((month == 1) && (date == 22)) document.write("Washington's Birthday <br>");
 if ((month == 1) && (date == 29)) document.write("Leap Day <br>");
 // March
 if ((month == 2) && (day == 0) && (date >= 8) && (date <= 14)) document.write("Daylight Savings Begins <br>");
 if ((month == 2) && (date == 17)) document.write("St. Patrick's Day <br>");
 // April
 if ((month == 3) && (date == 1)) document.write("April Fools' Day <br>");
 // May
 if ((month == 4) && (date == 1)) document.write("May Day <br>");
 if ((month == 4) && (date == 5)) document.write("Cinco de Mayo <br>");
 if ((month == 4) && (day == 0) && (date >= 8) && (date <= 14)) document.write("Mother's Day <br>");
 if ((month == 4) && (day == 1) && (date > 24)) document.write("Memorial Day <br>");
 // June
 if ((month == 5) && (date == 14)) document.write("Flag Day <br>");
 if ((month == 5) && (date == 21)) document.write("Summer Solstice <br>");
 if ((month == 5) && (day == 0) && (date >= 15) && (date <= 21)) document.write("Father's Day <br>");
 // July
 if ((month == 6) && (date == 4)) document.write("Independence Day <br>");
 // August
 // September
 if ((month == 8) && (day == 1)&& (date > 0) && (date < 8)) document.write("Labor Day <br>");
 if ((month == 8) && (date == 11)) document.write("Patriot Day <br>");
 // October
 if ((month == 9) && (day == 1) && (date > 7) && (date < 16)) document.write("Columbus Day <br>");
 if ((month == 9) && (date == 31)) document.write("Halloween <br>");
 // November
 if ((month == 10) && (day == 0) && (date >= 1) && (date <= 7)) document.write("Daylight Savings Ends <br>");
 if ((month == 10) && (date == 11)) document.write("Veteran's Day <br>");
 if ((month == 10) && (day == 4) && (date >= 22) && (date <= 29)) document.write("Thanksgiving <br>");
 // December
 if ((month == 11) && (date == 21)) document.write("Winter Solstice <br>");
 if ((month == 11) && (date == 24)) document.write("Christmas Eve <br>");
 if ((month == 11) && (date == 25)) document.write("Christmas <br>");
 if ((month == 11) && (date == 31)) document.write("New Year's Eve <br>");
 document.write("<\/font>");
//-->
