<!--
/*
 Copyright © Eugene Vassiltsov. But please, let me know if you will use it.
*/

 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--;

 // Easter
 if ((month == emonth) && (date == edate-2)) document.write("<br />We are closed today for Good Friday");
 // January
 if ((month == 0) && (date == 1)) document.write("<br>We are closed today for New Year's Day");
//checked for 2009
 // February
 if ((month == 1) && (date < 11)) document.write("<br>&#9829; &#9829; &#9829; &#9829; <br>Order some cookies for your Valentine - before it is too late!");
 if ((month == 1) && (date == 12)) document.write("<br>&#9829; &#9829; &#9829; &#9829; <br>Order some cookies for your Valentine - tomorrow will be too late!");
 // March
 // April
 // May
 if ((month == 4) && (date == 24)) document.write("<br>We are closed today for Bermuda Day"); //checked for 2010
 if ((month == 4) && (day == 0) && (date > 7) && (date< 16)) document.write("Mother's Day in USA & Bermuda");
 // June
 if ((month == 5) && (date == 21)) document.write("National Heroes Day"); //checked for 2010
 if ((month == 5) && (day == 0) && (date > 15) && (date< 24)) document.write("Father's Day");
 // July
 if ((month == 6) && (date == 29)) document.write("We are closed until Monday for the Cup Match holiday"); //checked for 2010
 if ((month == 6) && (date == 30)) document.write("We are closed until Monday for the Cup Match holiday"); //checked for 2010
 // August
 if ((month == 7) && (date == 1)) document.write("We are closed until Monday for the Cup Match holiday"); //checked for 2009
 // September
 if ((month == 8) && (day == 1) && (date > 0) && (date< 8)) document.write("We are closed today for Labour Day");2009
 // October
 if ((month == 9) && (date < 28)) document.write("Order some cookies for Halloween - before it is too late!");
 if ((month == 9) && (date == 29)) document.write("<br>Today is the last day to order Halloween cookies");
 // November
 if ((month == 10) && (day == 4) && (date > 23) && (date< 30)) document.write("<br>Thanksgiving (USA)");
 if ((month == 10) && (date == 30) && (day == 4)) document.write("Thanksgiving (USA)");
 // December
 if ((month == 11) && (date == 24)) document.write("<br>Christmas Eve");
 if ((month == 11) && (date == 25)) document.write("<br>We are closed today for Christmas");
 if ((month == 11) && (date == 26)) document.write("<br>We are closed today for Boxing Day");
 if ((month == 11) && (date == 28)) document.write("<br>We are closed today for Boxing Day");
 if ((month == 11) && (date == 31)) document.write("New Year's Eve");
 document.write("</font><br></b></center>");
//-->
