
<!--
/*
Copyright © Eugene Vassiltsov.
*/
 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("<p class='event'>");
 document.write(dayname[day] + ", ");
 document.write(monthname[month] + " ");
 if (date< 10) document.write("0" + date + ", ");
         else document.write(date + ", ");
 document.write(year + "  - <font color=006600>");
 // Easter
 if ((month == emonth) && (date == edate)) document.write("Easter Sunday (Western) ");
 // January
 if ((month == 0) && (date == 1)) document.write("New Year's Day");
 if ((month == 0) && (date == 15)) document.write("Adults Day (Japan)");
 if ((month == 0) && (date == 27)) document.write("Wolfgang Amadeus Mozart born (1756)");
 if ((month == 0) && (day == 1) && (date > 14) && (date< 22)) document.write("Martin Luther King Day");
 // February
 if ((month == 1) && (date == 2)) document.write("Groundhog Day... again");
 if ((month == 1) && (date == 6)) document.write("Maria Eugenia and Susan's birthdays - Happy birthday girls");
 if ((month == 1) && (date == 8)) document.write("Jules Verne born (1828)");
 if ((month == 1) && (date == 11)) document.write("National Foundation Day (Japan)");
 if ((month == 1) && (date== 12)) document.write("Lincoln's Birthday");
 if ((month == 1) && (date == 14)) document.write("St. Valentine's Day");
 if ((month == 1) && (date == 15)) document.write("Galileo Galilei born (1564)");
 if ((month == 1) && (date == 22)) document.write("Washington's Birthday");
 if ((month == 1) && (date == 29)) document.write("Leap Day");
 // March
 if ((month == 2) && (date == 3)) document.write("Girl's Day (Japan)");
 if ((month == 2) && (date == 17)) document.write("St. Patrick's Day");
 if ((month == 2) && (date == 21)) document.write("J.S. Bach born (1685)");
 // April
 if ((month == 3) && (date == 1)) document.write("April Fools' Day, Poisson d'Avril");
 if ((month == 3) && (date == 8)) document.write("Buddha born");
 if ((month == 3) && (date == 15) && (day != 0)) document.write("Income Tax Day (USA),   ");
 if ((month == 3) && (date == 16) && (day == 1)) document.write("Income Tax Day (USA) ");
 if ((month == 3) && (date == 15)) document.write("Leonardo da Vinci born (1452)");
 if ((month == 3) && (date == 22)) document.write("Earth Day");
 if ((month == 3) && (date == 29)) document.write("Emperor's Birthday (Japan)");
 if ((month == 3) && (day == 0) && (date > 0) && (date< 8)) document.write("Daylight Savings Time Begins");
 // May
 if ((month == 4) && (date == 1)) document.write("May Day,   Boy's Day (Japan)");
 if ((month == 4) && (date == 2)) document.write("Constitution Day (Japan), Dos de Mayo (España)");
 if ((month == 4) && (date == 5)) document.write("Cinco de Mayo (Mexico),   Children's Day (Japan)");
 if ((month == 4) && (date == 9)) document.write("IB Chemistry papers 1 & 2");
 if ((month == 4) && (date == 10)) document.write("IB Chemistry papers 3");
 if ((month == 4) && (date == 12)) document.write("I imagine something happened today but I've no idea what!");

 if ((month == 4) && (date == 14)) document.write("Independence Day (Paraguay)");
 if ((month == 4) && (date == 17)) document.write("Last revision day before the 2006 IB chemistry exam!");
 if ((month == 4) && (date == 18)) document.write("Chemistry HL and SL Papers 1 and 2 today - good luck");
 if ((month == 4) && (date == 19)) document.write("Chemistry HL and SL Paper 3 (Options) today - good luck");
 if ((month == 4) && (day == 1) && (date > 24)) document.write("Memorial Day");
 // June
 if ((month == 5) && (date == 5)) document.write("Constitution Day (Denmark)");
 if ((month == 5) && (date == 6)) document.write("D-Day");
 if ((month == 5) && (date == 9)) document.write("2006 World Cup kicks off with Germany v Costa Rica");
 if ((month == 5) && (date == 10)) document.write("2006 World Cup England v Paraguay");
 if ((month == 5) && (date == 11)) document.write("Kamehameha (Hawaii)");
 if ((month == 5) && (date == 12)) document.write("2006 World Cup USA v Czech Republic");
 if ((month == 5) && (date == 13)) document.write("2006 World Cup Brazil v Croatia");
 if ((month == 5) && (date == 14)) document.write("2006 World Cup Spain v Ukraine");
 if ((month == 5) && (date == 15)) document.write("2006 World Cup England v Trinidad & Tobago");
 if ((month == 5) && (date == 16)) document.write("2006 World Cup Argentina v Serbia & Montenegro");
 if ((month == 5) && (date == 17)) document.write("2006 World Cup Italy v USA");
 if ((month == 5) && (date == 18)) document.write("2006 World Cup Brazil v Australia");
 if ((month == 5) && (date == 19)) document.write("2006 World Cup Spain v Tunisia");
 if ((month == 5) && (date == 20)) document.write("2006 World Cup Sweden v England");
 if ((month == 5) && (date == 21)) document.write("Summer Solstice, 2006 World Cup Holland v Argentina");
 if ((month == 5) && (date == 22)) document.write("2006 World Cup Croatia v Australia");
 if ((month == 5) && (date == 23)) document.write("2006 World Cup Saudi Arabia v Spain");
 if ((month == 5) && (date == 24)) document.write("St. Jean Baptiste Day (Canada)");
 if ((month == 5) && (date == 30)) document.write("Independence Day (Zaire)");

 // July
 if ((month == 6) && (date == 1)) document.write("Independence Day (Canada)");
 if ((month == 6) && (date == 4)) document.write("Independence Day (USA)");
 if ((month == 6) && (date == 6)) document.write("IB results out today - good luck");
 if ((month == 6) && (date == 9)) document.write("");
 if ((month == 6) && (date == 13)) document.write("It's my birthday! Happy birthday to me!");
 if ((month == 6) && (date == 14)) document.write("Bastille Day (France)");
 if ((month == 6) && (date == 17)) document.write("");
 if ((month == 6) && (date == 21)) document.write("1969 Neil Armstrong 1st man on the moon");
 if ((month == 6) && (date == 30)) document.write("1966 England world cup winners");
 
 // August
 if ((month == 7) && (date == 1)) document.write("Confederation Day (Switzerland)");
  if ((month == 7) && (date == 5)) document.write("Scorchio in Spain today");
   if ((month == 7) && (date == 6)) document.write("The new Forum version 2.4 is back online");
 if ((month == 7) && (date == 9)) document.write("<a href='#' onclick=def('http://en.wikipedia.org/wiki/Avogadro');return false>Avogadro born 1776</a>");
 if ((month == 7) && (date == 10)) document.write("<a href='#' onclick=def('http://academic.reed.edu/chemistry/alan/201_202/lab_manual/Experiment_1/background.html');return false>Aspirin first discovered by Hoffmann 1897</a>");
 if ((month == 7) && (date == 12)) document.write("<a href='#' onclick=def('http://www-groups.dcs.st-and.ac.uk/~history/Mathematicians/Schrodinger.html');return false>Schröedinger born 1887</a>");
 if ((month == 7) && (date == 13)) document.write("<a href='#' onclick=def('http://www.stainlesssteel.or.kr/english/stsinfo/develop.asp');return false>1913, the first true stainless steel was cast in Sheffield, England</a>");
 if ((month == 7) && (date == 14)) document.write("<a href='#' onclick=def('http://www.nobel.se/laureates/chemistry-1991.html');return false>Chemistry Nobel Richard R Ernst born 1933</a>");
 if ((month == 7) && (date == 15)) document.write("La Virgen de la Paloma");
 if ((month == 7) && (date == 16)) document.write("Elvis Aaron Presley finally left the building, 1977");
 if ((month == 7) && (date == 19)) document.write("<a href='#' onclick=def('http://en.wikipedia.org/wiki/Louis-Jacques_Daguerre');return false>1839, Louis Daguerre presents first photograph</a>");
 if ((month == 7) && (date == 20)) document.write("<a href='#' onclick=def('http://scienceworld.wolfram.com/biography/Berzelius.html');return false>Jöns Berzelius - born, 1779</a>");
 if ((month == 7) && (date == 21)) document.write("<a href='#' onclick=def('http://en.wikipedia.org/wiki/Lake_Nyos');return false>1986 - carbon dioxide gas cloud devastation in Lake Nyos, Cameroon </a>");
 if ((month == 7) && (date == 22)) document.write("Liquid soap patented in 1865 by William Sheppard");
 if ((month == 7) && (date == 26)) document.write("My dad's birthday - Happy birthday dad");
 
 // September
 if ((month == 8) && (date == 1)) document.write("Back to work day for ICS teachers");
 if ((month == 8) && (date == 7)) document.write("Independence Day (Brazil)");
 if ((month == 8) && (date == 11)) document.write("Terrorist attack on twin towers (USA); Salvadore Allende suicide (Chile)");
 if ((month == 8) && (date == 15)) document.write("Respect for the Aged Day (Japan)");
 if ((month == 8) && (date == 16)) document.write("Independence Day (Mexico)");
 if ((month == 8) && (day == 1)&& (date > 0) && (date< 8)) document.write("Labour Day (USA)");

 // October
 if ((month == 9) && (date == 1)) document.write("German Reunification (1990)");
 if ((month == 9) && (date == 10)) document.write("Health-Sports Day (Japan)");
 if ((month == 9) && (date == 17)) document.write("My mum's birthday - Happy birthday mum");
 if ((month == 9) && (day == 1) && (date > 7) && (date< 16)) document.write("Columbus Day (USA)");
 if ((month == 9) && (day == 0) && (date > 24) && (date< 31)) document.write("Daylight Savings Time Ends");
 if ((month == 9) && (day == 0) && (date == 31)) document.write("Daylight Savings Time Ends<BR>");
 if ((month == 9) && (date == 31)) document.write("Halloween");
 
 // November
 if ((month == 10) && (date == 1)) document.write("All Saints Day");
 if ((month == 10) && (date == 2)) document.write("All Souls Day");
 if ((month == 10) && (date == 3)) document.write("");
 if ((month == 10) && (date == 3)) document.write("");
 if ((month == 10) && (date == 11)) document.write("Veteran's Day (USA),    Remembrance Day (Canada)");
 if ((month == 10) && (date == 20)) document.write("Revolution Day (Mexico)");
 if ((month == 10) && (date == 23)) document.write("My Brother Stephen's birthday - Happy birthday bro)");
 if ((month == 10) && (day == 4) && (date > 23) && (date< 30)) document.write("Thanksgiving (USA)");
 if ((month == 10) && (date == 30) && (day == 4)) document.write("Thanksgiving (USA)");
 
 // December
 if ((month == 11) && (date == 10)) document.write("Human Rights Day");
 if ((month == 11) && (date == 21)) document.write("Winter Solstice");
 if ((month == 11) && (date == 24)) document.write("Christmas Eve");
 if ((month == 11) && (date == 25)) document.write("Christmas");
 if ((month == 11) && (date == 26)) document.write("Boxing Day");
 if ((month == 11) && (date == 31)) document.write("New Year's Eve");
 document.write("</font></p>");
//-->


