window.onload = function(){
var theTime = new Date();
var theHour = theTime.getHours();
if(theHour >= 18){
document.body.style.cssText = "background: #000000 url('some1.jpg') 50% 50% no-repeat fixed";
}
else{
document.body.style.cssText = "background: #FFFFFF url('some2.jpg') 50% 50% no-repeat fixed";
}
}