<!-- Hide From Old Browsers

day=new Date()     //..get the date

x=day.getHours()    //..get the hour

if(x>=0 && x<6) {

   document.write('<img src="images/midnight.gif">')

} else

if(x>=6 && x<11) {

   document.write('<img src="images/morning.gif">')

} else

if(x>=11 && x<13) {

   document.write('<img src="images/lunch.gif">')

} else

if(x>=13 && x<18) {

   document.write('<img src="images/goodafternoon.gif">')

} else

if(x>=18 && x<24) {

   document.write('<img src="images/goodnight.gif">')

}

<!-- End Hiding -->

