context: $.clean = function(a) {	var r = [];	for ( var i = 0; i < a.length; i++ ) {		if ( a[i].constructor == String ) {			if ( !a[i].indexOf("<tr") ) {				var tr = true;				a[i] = "<table>" + a[i] + "</table>";			} else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) {				var td = true;				a[i] = "<table><tbody><tr>" + a[i] + "</tr></tbody></table>";			}			var div = document.createElement("div");			div.innerHTML = a[i];			if ( tr || td ) {				div = div.firstChild.firstChild;				if ( td ) {					div = div.firstChild;				}			}				for ( var j = 0; j < div.childNodes.length; j++ ) {				r[r.length] = div.childNodes[j];			}		} else if ( a[i].length && !a[i].nodeType ) {			for ( var k = 0; k < a[i].length; k++ ) {				r[r.length] = a[i][k];			}		} else if ( a[i] !== null ) {			r[r.length] = 				a[i].nodeType ? a[i] : document.createTextNode(a[i].toString());		}	}	return r;};
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2798/d584a884b6377553d6ba544c10484dc2a866caee/jquery.js/clean/jquery/jquery.js