// JavaScript Document

day=new Date()     //..get the date

x=day.getHours()    //..get the hour

if(x>=0 && x<4) {

   document.write('<style type="text/css">body{background: #393735 url(../images/6am.jpg) top center repeat-x; color: black}"></style>')

} else

if(x>=4 && x<12) {

   document.write('<style type="text/css">body{background: #393735 url(../images/6am.jpg) top center repeat-x; color: black}</style>')

} else

if(x>=12 && x<18) {

   document.write('<style type="text/css">body{background: #393735 url(../images/6am.jpg) top center repeat-x; color: black}</style>')

} else

if (x>=18 && x<24) {

   document.write('<style type="text/css">body{background: #393735 url(../images/6am.jpg) top center repeat-x; color: black}</style>')

}

