// JavaScript Document

/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
datetoday = new Date();
timenow=datetoday.getTime();
datetoday.setTime(timenow);
thehour = datetoday.getHours();
themin=datetoday.getMinutes();
if (thehour >= 18) display = "Evening";
else if (thehour >=12 && themin>=1) display = "Afternoon";
else display = "Morning";
var greeting = ("Good " + display + "!");
document.write('<b>'+greeting+'</b>');
//  End -->