rem: for( var i = 0; i < node.childNodes.length; i++ ) { if( resetHighlight( node.childNodes[i] ) ) i++; } 
add: if( ! node.childNodes.length ) return; for( var i = ( node.childNodes.length - 1 ); i >= 0; i-- ) resetHighlight( node.childNodes[i] ); 
context: 	function resetHighlight(node) {		if( node.nodeType == 3 ) { // Node.TEXT_NODE			if( node.parentNode.className == "searchHighlight" ) {				var text = node.nodeValue;				var newNode = document.createTextNode( text );				var par = node.parentNode.parentNode;				node.parentNode.parentNode.replaceChild( newNode, node.parentNode );				par.innerHTML = par.innerHTML; // this will merge text nodes				return true;			}		} else if( ! node.nodeName.match( /button|select|textarea/i ) ) {			// Recurse into child nodes			for( var i = 0; i < node.childNodes.length; i++ ) {				if( resetHighlight( node.childNodes[i] ) ) i++;			}		}		return false;	}
meta: 3726	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3726/436a47c58a8ebe880ee018193aa3a228760ea87e/default.js/clean/Resources/default.js