// JavaScript Document

function timeofday(){
day = new Date()
hr = day.getHours()
if ((hr == 0)||(hr == 1)||(hr == 2)||(hr == 3)||(hr == 4)||(hr == 5))
document.write("<i>Good morning!</i>")
if ((hr == 6)||(hr == 7)||(hr == 8)||(hr == 9)||(hr == 10)||(hr == 11))
document.write("<i>Good morning!</i>")
if ((hr == 12)||(hr == 13)||(hr == 14)||(hr == 15)||(hr == 16))
document.write("<i>Good afternoon!</i>")
if ((hr == 17)||(hr == 18)||(hr == 19)||(hr == 20)||(hr == 21)||(hr == 22)||(hr == 23))
document.write("<i>Good evening!</i>")
}

function copyright(){
year = new Date()
thisyear = year.getFullYear()
document.write(' '+ thisyear + ' ')
}

<!-- Hide code from non-js browsers
function newItem(expiryDate)
{
exp = new Date(expiryDate);
cur = new Date();
if (cur.getTime() < exp.getTime())
document.write("<IMG SRC=\"http://www.doublehwestern.com/images/new.gif\" WIDTH=35 HEIGHT=10 BORDER=0 ALT=\"new\">" );
}
// end hiding -->