rem: rTimer = setTimeout(requestMetricsPortal,60000); 
add: rTimer = setTimeout(requestMetricsResponse,60000); 
context: 	function showMetricsResponse(originalRequest) {		var metricText = eval("(" + originalRequest.responseText + ")");	var metricValues = metricText.metricValues;	var metricTable = document.getElementById('metricTable');	var resourceNameHeader = metricValues.resourceTypeName;	var resourceLoadTypeHeader = metricValues.metricName;	var urlColon = ":"	var resUrl = $('viewResUrl').href;	if (metricValues && metricValues != 0) {		for(var i=metricTable.childNodes.length-1; i>1; i--){        metricTable.removeChild(metricTable.childNodes[i]);    }	for (i=0; i<metricValues.values.length; i++) {	//alert(metricValues.values.length);		var newanchor = document.createElement("a");	var tr  = document.createElement('tr');	var td1 = document.createElement('td');    var td2 = document.createElement('td');    var oTextNode = $('resourceNameType').childNodes[0];    var lTextNode = $('resourceLoadType').childNodes[0];   	var oReplaceNode = oTextNode.replaceData(0,27,resourceNameHeader);    var lReplaceNode = lTextNode.replaceData(0,35,resourceLoadTypeHeader);   	    		metricTable.appendChild(tr);		tr.setAttribute((document.all ? 'className' : 'class'), "ListRow");		if (metricValues.resourceName && metricValues.metricName) {		oReplaceNode;		lReplaceNode;				}				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 {	$('noMetricValues').style.display = '';	}			rTimer = setTimeout(requestMetricsPortal,60000); //Refresh in 60 seconds	}
meta: 6359	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6359/3398d94db9f0d722c49a7e637297918cc2d087f4/requests.js/buggy/web/js/requests.js