rem: if (null != (inspectElement = dj_global[inspectElement])) { takeAction = inspectElement(element); 
add: if (!(typeof inspectElementHook == 'function')) { if (typeof gGlobalScope[inspectElementHook] == 'function') { inspectElementHook = gGlobalScope[inspectElementHook]; } } if (null != inspectElementHook) { takeAction = inspectElementHook(element); 
context: function takeActionAndTraverseTree(target, element, action, eventType, eventHook, postInstallHook) {    var takeAction = false;    var inspectElement = target.getAttribute("inspectElementHook");    // If the user defined an "inspectElement" function, call it.    if (null != (inspectElement = dj_global[inspectElement])) {      takeAction = inspectElement(element);    }    // If the function returned false or null, or was not defined...    if (null == takeAction || !takeAction) {      // if this element has a handler for the eventType      if (null != element[eventType] &&  	  null != element.getAttribute(eventType)) {        takeAction = true;      }    }    if (takeAction) {	// take the action on this element.	action(target, element, eventType, eventHook);    }    if (element.hasChildNodes()) {	for (var i = 0; i < element.childNodes.length; i++) {	    takeActionAndTraverseTree(target, element.childNodes[i], action, 				      eventType, eventHook);	}    }    return false;}
meta: 8755	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8755/1d840948fac96e2aa4e01ee3cb9e38d586d5f6b6/com_sun_faces_ajax.js/buggy/code/run-time/avatar/src/main/resources/com_sun_faces_ajax.js