function change(i) {
//var colors= new Array('#ff0000','#00ff00','#0000ff','#ff9800','#000000','#232D15','#DB19E2','#FCBB09','#','yellow','blue');
var colors= new Array('#F5F5E9');
var color = colors[Math.floor(colors.length*Math.random())]
   if (document.layers)
        window.document.layers['id' + i].bgColor = color;
    else if (document.all)
        window.document.all['id' + i].style.background = color;
}
function loop() {
var Max=document.Frm.count.value
Last=(Math.round(Math.random()*(Max-2))+1);
  change(Last);

for (i = 1; i <= Max; i++) {
if (i!=Last)  window.document.all['id' + i].style.background = '#ffffff';
}
setTimeout('loop()',100);
}
