Kalender

kalender.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Kalender</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
</HEAD>
<BODY bgColor=#f9eb96>
<table align=center>
<tr><td><font face=arial size=6 color=#000000><b>Kalender
</b></font></td></tr></table>
 
<TR><TD align=center>
 
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var Today=new Date();
var ThisDay=Today.getDay();
var ThisDate=Today.getDate();
var ThisMonth=Today.getMonth()+1;
var ThisYear=Today.getFullYear();
function DayTxt (DayNumber) {
var Day=new Array();
Day[0]="Sonntag";
Day[1]="Montag";
Day[2]="Dienstag";
Day[3]="Mittwoch";
Day[4]="Donnerstag";
Day[5]="Freitag";
Day[6]="Samstag";
return Day[DayNumber];
}
var DayName=DayTxt(ThisDay);
function MonthTxt (MonthNumber) {
var Month=new Array();
Month[1]="Januar";
Month[2]="Februar";
Month[3]="März";
Month[4]="April";
Month[5]="Mai";
Month[6]="Juni";
Month[7]="Juli";
Month[8]="August";
Month[9]="September";
Month[10]="Oktober";
Month[11]="November";
Month[12]="Dezember";
return Month[MonthNumber];
}
var MonthName=MonthTxt(ThisMonth);
var d = new Date();
var h = d.getHours();
document.write("<TABLE BORDER=3 borderColorDark=SILVER "+
"borderColorLight=SILVER BGCOLOR=WHITE "+
"WIDTH=90 HEIGHT=100 align=center>"+"<TD>"+
"<p align=center>"+"<font size=-1 color=black>"+DayName+"<br>"+
"<font color=red size=+5 ><B>"+ThisDate+"</B></font>"+"<br>"+MonthName+" "+
ThisYear+"<br>"+"</b>"+"</font>"+"</p>"+"</TD>"+"</TR>"+"</TABLE>");
 
if (h < 2) document.write("<P ALIGN=center><FONT face=Arial COLOR=00FFFF>"+"<b>"+
"Guten Abend!"+"</b>"+"</FONT></P>");
else if (h < 11) document.write("<P ALIGN=center><FONT face=Arial COLOR=00aa00>"+"<b>"+
"Guten Morgen!"+"</b>"+"</FONT></P>");
else if (h < 19) document.write("<P ALIGN=center><FONT face=Arial color=FF0000>"+"<b>"+
"Guten Tag!"+"</b>"+"</FONT></P>");
else document.write("<P ALIGN=center><FONT face=Arial COLOR=0000FF>"+"<b>"+
"Guten Abend!"+"</b>"+"</FONT></P>");
// End
 
 
-->
</script>
 
</tr></td></BODY></HTML>