<!-- Written by D.McAuley  //place script where you want it displayed on page.
message=new Date()
h=message.getHours()
if((h < 12) && (h >= 6))
{document.write("Good morning")}  
if((h >= 12) && (h < 18))
{document.write("Good afternoon")}  
if((h >= 18) && (h <= 23))
{document.write("Good evening")}  
if((h >= 0) && (h < 4))
{document.write("Good evening")}  if((h >= 4) && (h <= 6))
{document.write("Good morning")}
// -->