<!--

t = new Date();
dag = t.getDate();
mnd = t.getMonth();
y = t.getFullYear();

// Calculate Easter day (computus) Meeus/Jones/Butcher Gregorian algorithm

a = y % 19;
b = Math.floor(y / 100);
c = y % 100;
d = Math.floor(b / 4);
e = b % 4;
f = Math.floor((b + 8) / 25);
g = Math.floor((b - f + 1) / 3);
h = ((19 * a) + b - d - g + 15) % 30;
i = Math.floor(c / 4);
k = c % 4;
l = (32 + (2 * e) + (2 * i) - h - k) % 7;
m = Math.floor((a + (11 * h) + (22 * l)) / 451);
em = Math.floor((h + l - (7 * m) + 114) / 31) - 1;
ed = ((h + l - (7 * m) + 114) % 31) + 1;

es = new Date();
es.setDate(ed);
es.setMonth(em);


// Easter 14 days before ed and 7 days past
if ((es.getTime()-14*24*60*60*1000 <= t.getTime()) & (t.getTime() <= es.getTime()+7*24*60*60*1000))
    {
    document.write("<P></P><TABLE CLASS='COL_7'><TR><TD CLASS='enw'></TD><TD CLASS='n'></TD><TD CLASS='ene'></TD></TR><TR><TD CLASS='w'></TD><TD><DIV CLASS='small'>");
    document.write("<A HREF='games/crystalcaves.htm#mod'><IMG CLASS='link' SRC='pic/ccegghunt_fp.png' WIDTH='96' HEIGHT='96' ALIGN='center' ALT='It&#39;s a Crystal Caves Easter...'></A>");
    document.write("<BR><A HREF='games/crystalcaves.htm#mod'>It&#39;s a Crystal Caves Easter...</A>");
    document.write("</DIV></TD><TD CLASS='e'></TD></TR><TR><TD CLASS='esw'></TD><TD CLASS='s'></TD><TD CLASS='ese'></TD></TR></TABLE>");
    }

// D-Day
if ((mnd==5 & dag==6))
    {
    document.write("<P></P><TABLE CLASS='COL_7'><TR><TD CLASS='enw'></TD><TD CLASS='n'></TD><TD CLASS='ene'></TD></TR><TR><TD CLASS='w'></TD><TD><DIV CLASS='small'>");
    document.write("<A HREF='games/wolf3d.htm'><IMG CLASS='link' SRC='pic/wolf3d_fp.png' WIDTH='85' HEIGHT='91' ALIGN='center' ALT='It&#39;s a Wolfenstein 3D D-Day...'></A>");
    document.write("<BR><A HREF='games/wolf3d.htm'>It&#39;s a Wolfenstein 3D D-Day...</A>");
    document.write("</DIV></TD><TD CLASS='e'></TD></TR><TR><TD CLASS='esw'></TD><TD CLASS='s'></TD><TD CLASS='ese'></TD></TR></TABLE>");
    }


// Christmas = 11-12 tot 6-1
if ((mnd==11 & dag>=11) | (mnd==0 & dag<=6))
    {
    document.write("<P></P><TABLE CLASS='COL_7'><TR><TD CLASS='enw'></TD><TD CLASS='n'></TD><TD CLASS='ene'></TD></TR><TR><TD CLASS='w'></TD><TD><DIV CLASS='small'>");
    document.write("<A HREF='games/secretagent.htm#mod'><IMG CLASS='link' SRC='pic/samxmas_fp.png' WIDTH='96' HEIGHT='96' ALIGN='center' ALT='It&#39;s a Secret Agent Christmas...'></A>");
    document.write("<BR><A HREF='games/secretagent.htm#mod'>It&#39;s a Secret Agent Christmas...</A>");
    document.write("</DIV></TD><TD CLASS='e'></TD></TR><TR><TD CLASS='esw'></TD><TD CLASS='s'></TD><TD CLASS='ese'></TD></TR></TABLE>");
    document.write("<LINK REL='stylesheet' HREF='xmas.css' TYPE='text/css'>");
    }

// -->
