 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--;
 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(dayname[day] + ", ");
 document.write(monthname[month] + " ");
 if (date < 10) document.write("0" + date + ", ");
         else document.write(date + ", ");
 document.write(year + "    ");
 // Easter
 if ((month == emonth) && (date == edate)) document.write("<hr align=\"center\" width=\"35%\">Easter Sunday");
 // January
 if ((month == 0) && (date == 1)) document.write("<hr align=\"center\" width=\"35%\">New Year\'s Day");
 if ((month == 0) && (date == 18)) document.write("<hr align=\"center\" width=\"35%\">It\'s my Birthday (Everywhere)");
 if ((month == 0) && (date == 27)) document.write("<hr align=\"center\" width=\"35%\">Wolfgang Amadeus Mozart (1756)");
 if ((month == 0) && (day == 1) && (date > 14) && (date< 22)) document.write("<hr align=\"center\" width=\"35%\">Martin Luther King\'s Birthday");
 // February
 if ((month == 1) && (date == 2)) document.write("<hr align=\"center\" width=\"35%\">Groundhog Day (Canada, US)");
 if ((month == 1) && (date == 8)) document.write("<hr align=\"center\" width=\"35%\">Jules Verne (1828)");
 if ((month == 1) && (date == 11)) document.write("<hr align=\"center\" width=\"35%\">National Foundation Day (Japan)");
 if ((month == 1) && (date== 12)) document.write("<hr align=\"center\" width=\"35%\">");
 if((month == 1) && (date == 14)) document.write("<hr align=\"center\" width=\"35%\">Valentine\'s Day");
 if ((month == 1) && (date == 15)) document.write("<hr align=\"center\" width=\"35%\">Galileo Galilei (1564)");
 if ((month == 1) && (date == 22)) document.write("<hr align=\"center\" width=\"35%\">");
 if ((month == 1) && (date == 29)) document.write("<hr align=\"center\" width=\"35%\">Leap Day");
 // March
 if ((month == 2) && (date == 5)) document.write("<hr align=\"center\" width=\"35%\">2004: Former chief U.N. weapons inspector Hans Blix declares Iraq war <a href=\"http://www.commondreams.org/headlines04/0305-01.htm\">illegal</a>.");
 if ((month == 2) && (date == 17)) document.write("<font color=#004400><br>St. Patrick\'s Day<br><div align=left>An event annually taking place anywhere on the face of the Earth a breathing Irishman is still able to summon the strength and will to lift a glass.<font color=#000000>(O\' <img align=texttop src=\"../images/drinks.gif\" width=39 height=75 alt=\"pint o\'Guinness\"> preferably)</font></font></div>");
 if ((month == 2) && (date == 19)) document.write("<hr align=\"center\" width=\"35%\">2003: George W. Bush launches unprovoked invasion of Iraq.");
 if ((month == 2) && (date == 21)) document.write("<hr align=\"center\" width=\"35%\">J.S. Bach born (1685)");
 // April
 if ((month == 3) && (date == 1)) document.write("<hr align=\"center\" width=\"35%\">April Fools Day<br><br>2003: <a href=\"http://www.guardian.co.uk/Iraq/Story/0,2763,956255,00.html\">Pfc. Jessica Lynch</a> recovered by U.S. forces.");
 if ((month == 3) && (date == 9)) document.write("<hr align=\"center\" width=\"35%\">2003: Statue of Saddam Hussein toppled in Baghdad. It was later revealed that the event had been <a href=\"http://www.commondreams.org/headlines04/0703-02.htm\">stage-managed</a> by the U.S. military");
 if ((month == 3) && (date == 15) && (day != 0)) document.write("<hr align=\"center\" width=\"35%\">Income Tax Deadline Day (US)");
 if ((month == 3) && (date == 16) && (day == 1)) document.write("<hr align=\"center\" width=\"35%\">Income Tax Day (US) ");
 if ((month == 3) && (date == 15)) document.write("<hr align=\"center\" width=\"35%\">Leonardo da Vinci born (1452)");
 if ((month == 3) && (date == 22)) document.write("<hr align=\"center\" width=\"35%\">Earth Day");
 if ((month == 3) && (date == 30)) document.write("<hr align=\"center\" width=\"35%\">Income Tax Deadline Day (Canada)");
 if ((month == 3) && (day == 0) && (date > 0) && (date < 8)) document.write("<hr align=\"center\" width=\"35%\">Daylight Savings Time Begins.<br>\"Spring Forward\"");
 // May
 if ((month == 4) && (date == 1)) document.write("<hr align=\"center\" width=\"35%\">May Day<br><br>2003: George W. Bush declares \"Mission Accomplished\" and states that the major fighting in Iraq has ended.");
 if ((month == 4) && (date == 2)) document.write("<hr align=\"center\" width=\"35%\">Constitution Day (Japan)");
 if ((month == 4) && (date == 5)) document.write("<hr align=\"center\" width=\"35%\">Cinco de Mayo (Mexico), Children's Day (Japan)");
 if ((month == 4) && (date == 29)) document.write("<hr align=\"center\" width=\"35%\">2003: George W. Bush <a href=\"http://www.whitehouse.gov/g8/interview5.html\">claims</a> U.S. found Saddam Hussein's alleged weapons of mass destruction. (<i>Since they later admitted there never were any WMD, we know they had not.</i>)");
 if ((month == 4) && (date == 30)) document.write("<hr align=\"center\" width=\"35%\">2005: U.S. Vice-President Dick Cheney, appearing on a television program, claims the Iraqi \"Insurgency\" in its \“last throes\”.");
 if ((month == 4) && (day == 0) && (date > 7) && (date< 16)) document.write("<hr align=\"center\" width=\"35%\">Mother's Day");
 if ((month == 4) && (day == 1) && (date > 24)) document.write("<hr align=\"center\" width=\"35%\">Memorial Day (US)");
 // June
 if ((month == 5) && (date == 6)) document.write("<hr align=\"center\" width=\"35%\">D-Day Anniversary");
 if ((month == 5) && (date == 11)) document.write("<hr align=\"center\" width=\"35%\">Kamehameha (Hawaii)");
 if ((month == 5) && (date == 14)) document.write("<hr align=\"center\" width=\"35%\">Flag Day (US)");
 if ((month == 5) && (date == 21)) document.write("<hr align=\"center\" width=\"35%\">Summer Solstice");
 if((month == 5) && (date == 24)) document.write("<hr align=\"center\" width=\"35%\">St. Jean-Baptiste Day (Quebec)");
 if ((month == 5) && (date == 30)) document.write("<hr align=\"center\" width=\"35%\">Independence Day (Zaire)");
 if ((month == 5) && (day == 0) && (date > 15) && (date< 24)) document.write("<hr align=\"center\" width=\"35%\">Father\'s Day");
 // July
 if ((month == 6) && (date == 1)) document.write("<hr align=\"center\" width=\"35%\">Canada Day (Canada)");
 if ((month == 6) && (date == 4)) document.write("<hr align=\"center\" width=\"35%\">Independence Day (US)");
 if ((month == 6) && (date == 14)) document.write("<hr align=\"center\" width=\"35%\">Bastille Day (France)");
 if ((month == 6) && (date == 15)) document.write("<hr align=\"center\" width=\"35%\"><div align=left><a href=\"http://www.newadvent.org/cathen/14357c.htm\">St. Swithin\'s</a> Day. Most probably the correct (and original) spelling of this Bishop's name is Swithun. The \'in\' form seems to be the more popular today. <font color=#000000><b>(UK)</b></font></div>");
if ((month == 6)  && (date == 31)) document.write("<hr align=\"center\" width=\"35%\">2006: 3,438 Iraq civilians die in July");
 // August
 if ((month == 7) && (date == 1)) document.write("<hr align=\"center\" width=\"35%\">Confederation Day (Switzerland)");
 if ((month == 7) && (date == 10)) document.write("<hr align=\"center\" width=\"35%\">Independence Day (Ecuador)");
 if ((month == 7) && (date == 15)) document.write("<hr align=\"center\" width=\"35%\">Independence Day (India)");
 // September
 if ((month == 8) && (date == 7)) document.write("<hr align=\"center\" width=\"35%\">2004: Death toll of U.S. soldiers in Iraq reaches 1,000");
 if ((month == 8) && (date == 15)) document.write("<hr align=\"center\" width=\"35%\">1835 - The HMS Beagle, with Charles Darwin aboard, reaches the Galápagos Islands.");
 if ((month == 8) && (date == 16)) document.write("<hr align=\"center\" width=\"35%\">2004: U.N. Secretary General Kofi Annan declares Iraq war illegal");
 if ((month == 8) && (day == 1) && (date > 0) && (date < 8)) document.write("<hr align=\"center\" width=\"35%\">Labour Day ( Canada, US)");
 // October
 if ((month == 9) && (date == 1)) document.write("<hr align=\"center\" width=\"35%\">German Reunufication (1990)");
 if ((month == 9) && (date == 9)) document.write("<hr align=\"center\" width=\"35%\">");
 if ((month == 9) && (day == 1) && (date > 8) && (date< 15)) document.write("<hr align=\"center\" width=\"35%\">Thanksgiving (Canada)");
 if ((month == 9) && (date == 14) && (day == 1)) document.write("<hr align=\"center\" width=\"35%\">Thanksgiving (Canada)");
 if ((month == 9) && (date == 10)) document.write("<hr align=\"center\" width=\"35%\">Health-Sports Day (Japan)");
 if ((month == 9) && (day == 1) && (date > 7) && (date< 16)) document.write("<hr align=\"center\" width=\"35%\">Columbus Day (US)");
 if ((month == 9) && (day == 0) && (date > 24) && (date< 31)) document.write("<hr align=\"center\" width=\"35%\">Daylight Savings Time Ends.<br>\Fall Back\"");
 if ((month == 9) && (day == 0) && (date == 31)) document.write("<hr align=\"center\" width=\"35%\">Daylight Savings Time Ends.<br>\"Fall Back\"");
 if ((month == 9) && (date == 24)) document.write("<hr align=\"center\" width=\"35%\">United Nations Day");
 if ((month == 9) && (date == 31)) document.write("<hr align=\"center\" width=\"35%\">All Hallows Eve (Hallowe\'en)");
 // November
 if ((month == 10) && (date == 1)) document.write("<hr align=\"center\" width=\"35%\">All Saints Day");
 if ((month == 10) && (date == 2)) document.write("<hr align=\"center\" width=\"35%\">George W. Bush is re-elected U.S. president.");
 if ((month == 10) && (date == 2)) document.write("<hr align=\"center\" width=\"35%\">All Souls Day");
 if ((month == 10) && (date == 8)) document.write("<hr align=\"center\" width=\"35%\">2004: U.S. forces launch all-out assault on Fallujah");
 if ((month == 10) && (date == 11)) document.write("<hr align=\"center\" width=\"35%\">Remembrance Day (Canada, UK), Veteran's Day (US)<br><b>Olde Englishe Calendar</b><br>Martinmas -- St. Martin of Tours");
 if ((month == 10) && (date ==20)) document.write("<hr align=\"center\" width=\"35%\">Revolution Day (Mexico)");
 if ((month == 10) && (date == 28)) document.write("<hr align=\"center\" width=\"35%\">2003: \"Chicken-Hawk\" Bush makes surprise Thanksgiving visit to Iraq, poses with <a href=\"http://www.guardian.co.uk/comment/story/0,3604,1101131,00.html\">fake turkey</a>");
 if ((month == 10) && (day == 4) && (date > 23) && (date< 30)) document.write("<hr align=\"center\" width=\"35%\">Thanksgiving (US)");
 if ((month == 10) && (date == 30) && (day == 4)) document.write("<hr align=\"center\" width=\"35%\">Thanksgiving (US)");
 // December
 if ((month == 11) && (date == 10)) document.write("<hr align=\"center\" width=\"35%\">Human Rights Day");
 if ((month == 11) && (date == 21)) document.write("<hr align=\"center\" width=\"35%\">Winter Solstice");
 if ((month == 11) && (date == 24)) document.write("<hr align=\"center\" width=\"35%\">Christmas Eve");
 if ((month == 11) && (date == 25)) document.write("<hr align=\"center\" width=\"35%\">Christmas");
 if ((month == 11) && (date == 26)) document.write("<hr align=\"center\" width=\"35%\">Boxing Day");
 if ((month == 11) && (date == 31)) document.write("<hr align=\"center\" width=\"35%\">New Year's Eve");
 document.write("</font>");



