<script>
function lightrow(el, len, cur) {
if(cur >= 0) el[cur].style.background = '#ffffff';
cur++;
if(cur >= len) { cur = 0; }
if(cur >= 0) el[cur].style.background = '#f76341';
setTimeout(function(){lightrow(el, len, cur)}, 3400);
}
var tr = document.getElementById('mytable').getElementsByTagName('tr');
var trl = tr.length;
if(trl > 1) lightrow(tr, trl, -1);
</script>
<table id="mytable">..... |