/* JavaScript Time-of-Day-Sensitive Greeting Parser */
/* Last Update: 01 January 2009 */

today = new Date()
  if(today.getMinutes() < 10){ 
    pad = "0"}
  else
    pad = "";
document.write
    if((today.getHours() >=6) && (today.getHours() <=11)){
document.write("<B>Good Morning!  ")
document.write("Today is " + day + month);
document.write(myweekday + ", " + year + " and you&#8217;re in &#8230;</B>");
}
    if((today.getHours() >=12) && (today.getHours() <=16)){
document.write("<B>Good Afternoon!  ")
document.write("Today is " + day + month);
document.write(myweekday + ", " + year + " and you&#8217;re in &#8230;</B>");
}
    if((today.getHours() >=17) && (today.getHours() <=23)){
document.write("<B>Good Evening!  ")
document.write("Today is " + day + month);
document.write(myweekday + ", " + year + " and you&#8217;re in &#8230;</B>");
}
    if((today.getHours() >=0) && (today.getHours() <=3)){
document.write("<B>Get some sleep!  ")
document.write("Today is " + day + month);
document.write(myweekday + ", " + year + " and you&#8217;re in &#8230;</B>");
}
    if((today.getHours() >=4) && (today.getHours() <=5)){
document.write("<B>You&#8217;re up early!  ")
document.write("Today is " + day + month);
document.write(myweekday + ", " + year + " and you&#8217;re in &#8230;</B>");
}
