rem: metricTable.appendChild(tr); 
add: tbody.appendChild(tr); 
context:     function showMetricsResponse(originalRequest) {        var metricText = eval("(" + originalRequest.responseText + ")");        var metricValues = metricText.metricValues;        var resourceNameHeader = metricValues.resourceTypeName;        var resourceLoadTypeHeader = metricValues.metricName;        var urlColon = ":"        var resUrl = $('viewResUrl').href;        var metricTable;        var noMetricTable;        var metricFunc        var token = metricText.token;        if (token != null) {            metricTable = document.getElementById('metricTable' + token);            noMetricTable = 'noMetricTable' + token;            metricFunc = 'requestMetricsResponse' + token + '()';        } else {            metricTable = document.getElementById('metricTable');            noMetricTable = 'noMetricTable';            metricFunc = 'requestMetricsResponse()';        }                if (metricValues.values) {            for (var i = metricTable.childNodes.length - 1; i > 1; i--) {                metricTable.removeChild(metricTable.childNodes[i]);            }            // Create table headers            var trHeader = document.createElement('tr');            var th1 = document.createElement('th');            var th2 = document.createElement('th');            metricTable.appendChild(trHeader);            trHeader.setAttribute("class", "tableRowHeader");            trHeader.appendChild(th1);            th1.setAttribute("width", "90%");            th1.setAttribute("class", "tableRowInactive");            th1.appendChild(document.createTextNode(resourceNameHeader));            trHeader.appendChild(th2);            th2.setAttribute("width", "10%");            th2.setAttribute("class", "tableRowInactive");            th2.setAttribute("nowrap", true);            th2.appendChild(document.createTextNode(resourceLoadTypeHeader));            for (i = 0; i < metricValues.values.length; i++) {                var newanchor = document.createElement("a");                var tr = document.createElement('tr');                var td1 = document.createElement('td');                var td2 = document.createElement('td');                metricTable.appendChild(tr);                tr.setAttribute((document.all ? 'className' : 'class'), "ListRow");                tr.appendChild(td1);                td1.setAttribute((document.all ? 'className' : 'class'), "resource");                if (metricValues.values[i].resourceName) {                    td1.appendChild(newanchor);                    newanchor.appendChild(document.createTextNode(metricValues.values[i].resourceName));                    newanchor.setAttribute('href', (resUrl + metricValues.values[i].resourceTypeId + urlColon + metricValues.values[i].resourceId));                }                tr.appendChild(td2);                td2.setAttribute((document.all ? 'className' : 'class'), "metricName");                td2.appendChild(document.createTextNode(metricValues.values[i].value));            }        } else {            $(noMetricTable).style.display = '';        }        rTimer = setTimeout(metricFunc, 60000);        //Refresh in 60 seconds    }
meta: 6359	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6359/80c49fd94156d28d67a1bb070852792ddd106b5b/requests.js/clean/web/js/requests.js