var update = ['Jan26','Feb16','May18','Mar30','Site']; var backg,last,link,updatecol='#CCFFCC'; onload=start; function start() { for (y in update) { x = update[y]; if(document.all[x]) { eval(x + ".style.backgroundColor='" + updatecol + "'"); } } } function DoCol(which) { if(which.id==dummy.id) return; last=which; backg=which.style.backgroundColor; which.style.backgroundColor="gold"; } function NoCol() { last.style.backgroundColor=backg; } function DoClick(which) { link = which.id+".htm"; if(parent.HOME) { parent.HOME.location.href = link; } else { document.location.href=link; } }