var Datum = new Date();
var wt = Math.floor(Datum/86400000);
wt = wt-(Math.floor(wt/7)*7);
var ht = Datum.getDate();
var hm = Datum.getMonth()+1;
var hj = Datum.getYear()+1900;
if(hj >= 2500) hj = hj-1900;
var heute = hj*10000+hm*100+ht;
var fh = 0;
var v = "<img src=http://www.hexes-hexenhaus.de/forum/vm.jpg width=21 height=21 alt=Vollmondfest>";
var n = "<img src=http://www.hexes-hexenhaus.de/forum/nm.jpg width=21 height=21 alt=Neumondfest>";
var s = "<img src=http://www.hexes-hexenhaus.de/forum/so.jpg width=21 height=21 alt=Sonnenfest>";


if (heute == 20101221) fh = 8;
if (heute == 20101106) fh = 7;
if (heute == 20100922) fh = 6;
if (heute == 20100824) fh = 5;
if (heute == 20100621) fh = 4;
if (heute == 20100528) fh = 3;
if (heute == 20100320) fh = 2;
if (heute == 20100228) fh = 1;

if (heute == 20091221) fh = 8;
if (heute == 20091018) fh = 7;
if (heute == 20090922) fh = 6;
if (heute == 20090805) fh = 5;
if (heute == 20090620) fh = 4;
if (heute == 20090509) fh = 3;
if (heute == 20090321) fh = 2;
if (heute == 20090209) fh = 1;

if (heute == 20081221) fh = 8;
if (heute == 20081029) fh = 7;
if (heute == 20080922) fh = 6;
if (heute == 20080816) fh = 5;
if (heute == 20080620) fh = 4;
if (heute == 20080519) fh = 3;
if (heute == 20080320) fh = 2;
if (heute == 20080221) fh = 1;

if (heute == 20071222) fh = 8;
if (heute == 20071109) fh = 7;
if (heute == 20070923) fh = 6;
if (heute == 20070828) fh = 5;
if (heute == 20070621) fh = 4;
if (heute == 20070531) fh = 3;
if (heute == 20070320) fh = 2;
if (heute == 20070303) fh = 1;

if (heute == 20061221) fh = 8;
if (heute == 20061022) fh = 7;
if (heute == 20060922) fh = 6;
if (heute == 20060809) fh = 5;
if (heute == 20060621) fh = 4;
if (heute == 20060513) fh = 3;
if (heute == 20060320) fh = 2;
if (heute == 20060213) fh = 1;


if (fh > 0) document.write("<FONT SIZE=3>Heute ist <b>");
if (fh == 1) document.write(v," Imbolc");
if (fh == 2) document.write(s," Ostara");
if (fh == 3) document.write(v," Beltane");
if (fh == 4) document.write(s," Litha");
if (fh == 5) document.write(v," Lammas");
if (fh == 6) document.write(s," Mabon");
if (fh == 7) document.write(n," Samhain");
if (fh == 8) document.write(s," Yul");
if (fh > 0) document.write("</b>. <FONT SIZE=3>Das Hexenhaus wünscht Euch ein gesegnetes Fest. <br>");

document.write("<FONT SIZE=3>Das n&auml;chste Jahresfest ist: <b> ");

if (heute > 20101221 || heute < 20020101) document.write("unbekannt");

if (heute < 20101221 && heute >= 20101106) document.write(s," Yul</b> am <b>21.12.2010");
if (heute < 20101106 && heute >= 20100923) document.write(n," Samhain</b> am <b>06.11.2010");
if (heute < 20100923 && heute >= 20100824) document.write(s," Mabon</b> am <b>23.09.2010");
if (heute < 20100824 && heute >= 20100621) document.write(v," Lammas</b> am <b>24.08.2010");
if (heute < 20100621 && heute >= 20100528) document.write(s," Litha</b> am <b>21.06.2010");
if (heute < 20100528 && heute >= 20100321) document.write(v," Beltane</b> am <b>28.05.2010");
if (heute < 20100321 && heute >= 20100228) document.write(s," Ostara</b> am <b>21.03.2010");
if (heute < 20100228 && heute >= 20091221) document.write(v," Imbolc</b> am <b>28.02.2010");

if (heute < 20091221 && heute >= 20091018) document.write(s," Yul</b> am <b>21.12.2009");
if (heute < 20091018 && heute >= 20090923) document.write(n," Samhain</b> am <b>18.10.2009");
if (heute < 20090923 && heute >= 20090805) document.write(s," Mabon</b> am <b>23.09.2009");
if (heute < 20090805 && heute >= 20090621) document.write(v," Lammas</b> am <b>04.08.2009");
if (heute < 20090621 && heute >= 20090509) document.write(s," Litha</b> am <b>21.06.2009");
if (heute < 20090509 && heute >= 20090321) document.write(v," Beltane</b> am <b>09.05.2009");
if (heute < 20090321 && heute >= 20090209) document.write(s," Ostara</b> am <b>21.03.2009");
if (heute < 20090209 && heute >= 20081221) document.write(v," Imbolc</b> am <b>10.02.2009");

if (heute < 20081221 && heute >= 20081029) document.write(s," Yul</b> am <b>21.12.2008");
if (heute < 20081029 && heute >= 20080923) document.write(n," Samhain</b> am <b>29.10.2008");
if (heute < 20080923 && heute >= 20080816) document.write(s," Mabon</b> am <b>23.09.2008");
if (heute < 20080816 && heute >= 20080621) document.write(v," Lammas</b> am <b>16.08.2008");
if (heute < 20080621 && heute >= 20080519) document.write(s," Litha</b> am <b>21.06.2008");
if (heute < 20080519 && heute >= 20080321) document.write(v," Beltane</b> am <b>19.05.2008");
if (heute < 20080321 && heute >= 20080221) document.write(s," Ostara</b> am <b>21.03.2008");
if (heute < 20080221 && heute >= 20071221) document.write(v," Imbolc</b> am <b>21.02.2008");

if (heute < 20071221 && heute >= 20071109) document.write(s," Yul</b> am <b>21.12.2007");
if (heute < 20071109 && heute >= 20070923) document.write(n," Samhain</b> am <b>09.11.2007");
if (heute < 20070923 && heute >= 20070828) document.write(s," Mabon</b> am <b>23.09.2007");
if (heute < 20070828 && heute >= 20070621) document.write(v," Lammas</b> am <b>28.08.2007");
if (heute < 20070621 && heute >= 20070531) document.write(s," Litha</b> am <b>21.06.2007");
if (heute < 20070531 && heute >= 20070321) document.write(v," Beltane</b> am <b>31.05.2007");
if (heute < 20070321 && heute >= 20070303) document.write(s," Ostara</b> am <b>21.03.2007");
if (heute < 20070303 && heute >= 20061221) document.write(v," Imbolc</b> am <b>03.03.2007");

if (heute < 20061221 && heute >= 20061022) document.write(s," Yul</b> am <b>21.12.2006");
if (heute < 20061022 && heute >= 20060923) document.write(n," Samhain</b> am <b>22.10.2006");
if (heute < 20060923 && heute >= 20060809) document.write(s," Mabon</b> am <b>23.09.2006");
if (heute < 20060809 && heute >= 20060621) document.write(v," Lammas</b> am <b>09.08.2006");
if (heute < 20060621 && heute >= 20060513) document.write(s," Litha</b> am <b>21.06.2006");
if (heute < 20060513 && heute >= 20060321) document.write(v," Beltane</b> am <b>13.05.2006");
if (heute < 20060321 && heute >= 20060213) document.write(s," Ostara</b> am <b>20.03.2006");
if (heute < 20060213 && heute >= 20051221) document.write(v," Imbolc</b> am <b>13.02.2006");


document.write("</b></center>");

