var nodes = tinyMCE.getNodeTree(para, new Array(), 3); for (var i=0; i<nodes.length; i++) { 
nodes = tinyMCE.getNodeTree(para, [], 3); for (i=0; i<nodes.length; i++) { 
		function isEmpty(para) {			function isEmptyHTML(html) {				return html.replace(new RegExp('[ \t\r\n]+', 'g'), '').toLowerCase() == "";			}			// Check for images			if (para.getElementsByTagName("img").length > 0)				return false;			// Check for tables			if (para.getElementsByTagName("table").length > 0)				return false;			// Check for HRs			if (para.getElementsByTagName("hr").length > 0)				return false;			// Check all textnodes			var nodes = tinyMCE.getNodeTree(para, new Array(), 3);			for (var i=0; i<nodes.length; i++) {				if (!isEmptyHTML(nodes[i].nodeValue))					return false;			}			// No images, no tables, no hrs, no text content then it's empty			return true;		}
4999	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4999/5aedce1521db51e0580dc7c394a64ebd1b655534/tiny_mce.js/buggy/wp-includes/js/tinymce/tiny_mce.js