var a=0;

function oh(){
a=a+1;
if (a==6) a=1
}

function ok(){
var hh,mm,ss,r1,r2,r3;
time=new Date();
hh=(time.getHours())*10+Math.floor(Math.random()*5);
mm=(time.getMinutes())*4+Math.floor(Math.random()*5);
ss=(time.getSeconds())*4+Math.floor(Math.random()*5);
r1=Math.floor(Math.random()*256);
r2=Math.floor(Math.random()*256);
r3=Math.floor(Math.random()*256);

document.getElementById('one').style.backgroundColor="rgb("+hh+","+mm+","+ss+")";

if (a==5){
document.getElementById('one').style.backgroundColor="rgb("+r1+","+r2+","+r3+")";
}

}
ok();
setInterval("ok();",100);
