rem: for (var i = 0; i < tempTbody.rows.length; i++) { for (var j = 0; j < tempTbody.rows[i].cells.length; j++) { target.rows[i].cells[j].innerHTML = tempTbody.rows[i].cells[j].innerHTML; } }  tempDiv.removeNode(true); } else if (target) { target.innerHTML = extracted; }  var scripts = extractScripts(extracted); for(var i=0;i<scripts.length;i++) { var script = scripts[i]; script = "try{"+script+"}catch(e){alert(e);}"; eval(script); } 
add: for (var i = 0; i < tempTbody.rows.length; i++) { for (var j = 0; j < tempTbody.rows[i].cells.length; j++) { target.rows[i].cells[j].innerHTML = tempTbody.rows[i].cells[j].innerHTML; } }  tempDiv.removeNode(true); } else if (target) { target.innerHTML = extracted; }  var scripts = extractScripts(extracted); for(var i=0;i<scripts.length;i++) { var script = scripts[i]; script = "try{"+script+"}catch(e){alert(e);}"; eval(script); } 
context: function updateRegion(updateRegionId, str) {				extracted = extractContentsById(updateRegionId, str);    target = document.getElementById(updateRegionId);			if (document.all && target) {		// && getOpeningTag(updateRegionId, str) == "tbody"			//Emptying <tbody>			while( target.firstChild ) {				target.removeChild( target.firstChild );			}        		    				//Making temp <div> and <table>			var tempDiv = document.createElement("div");    	 			document.body.appendChild(tempDiv);			tempTbodyId = updateRegionId + "TempTbody";			tempDiv.innerHTML = "<table><tbody id=\"" + tempTbodyId + "\">" + extracted + "</tbody></table>";				//Filling in tbody			var tempTbody =  document.getElementById(tempTbodyId);				for (var i = 0; i < tempTbody.childNodes.length; i++) {				target.appendChild(tempTbody.childNodes[i].cloneNode(true));							}							    for (var i = 0; i < tempTbody.rows.length; i++) {			  for (var j = 0; j < tempTbody.rows[i].cells.length; j++) {				  target.rows[i].cells[j].innerHTML = tempTbody.rows[i].cells[j].innerHTML;								  }		  }				 			tempDiv.removeNode(true);			 				     }    else if (target) {	  	target.innerHTML = extracted;	  }		// execute all the scripts		var scripts = extractScripts(extracted);		for(var i=0;i<scripts.length;i++) {			var script = scripts[i];			script = "try{"+script+"}catch(e){alert(e);}";			eval(script);		}	  }
meta: 7108	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7108/ad0af2022e5921dc9a36d0d5cf62e390b55b6743/aa.js/clean/etc/js/ajaxanywhere/aa.js