rem: var rows = tbody.getElementsByTagName("tr"); 
add: rows = tbody.getElementsByTagName("tr"); 
context: function highlightTableRows(tableId) {    var previousClass = null;    var table = document.getElementById(tableId);     var tbody = table.getElementsByTagName("tbody")[0];    if (tbody == null) {        var rows = table.getElementsByTagName("tr");    } else {        var rows = tbody.getElementsByTagName("tr");    }    // add event handlers so rows light up and are clickable    for (i=0; i < rows.length; i++) {        rows[i].onmouseover = function() { previousClass=this.className;this.className+=' over' };        rows[i].onmouseout = function() { this.className=previousClass };        rows[i].onclick = function() {            var cell = this.getElementsByTagName("td")[0];            var link = cell.getElementsByTagName("a")[0];            location.href = link.getAttribute("href");            this.style.cursor="wait";        }    }}
meta: 2320	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2320/ee450d1f5cb4cc7c31fa8709e11517417f57499b/global.js/buggy/web/scripts/global.js