datetoday = new Date();
timenow=datetoday.getTime();
datetoday.setTime(timenow);
thehour = datetoday.getHours();
if (thehour > 22) display = "So sp&auml;t noch wach?";
else if (thehour > 17) display = "Guten Abend!";
else if (thehour > 13) display = "Hallo!";
else if (thehour > 11) display = "Maaaahlzeit!";
else if (thehour >5) display = "Guten Morgen!";
else display = "Immmer noch wach?";
var greeting = (display);
document.write(greeting);
	