rem: var imgs = content.getElementsByTagName("img"); for (var i=0; i<imgs.length; i++) { 
add: var imgs = content.getElementsByTagName("img"), src, i; for (i=0; i<imgs.length; i++) { 
context: 	cleanup : function(type, content) {		switch (type) {			case "insert_to_editor_dom":				var imgs = content.getElementsByTagName("img");				for (var i=0; i<imgs.length; i++) {					var onmouseover = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseover'));					var onmouseout = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseout'));					if ((src = this._getImageSrc(onmouseover)) != "") {						if (tinyMCE.getParam('convert_urls'))							src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src);						imgs[i].setAttribute('onmouseover', "this.src='" + src + "';");					}					if ((src = this._getImageSrc(onmouseout)) != "") {						if (tinyMCE.getParam('convert_urls'))							src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src);						imgs[i].setAttribute('onmouseout', "this.src='" + src + "';");					}				}				break;			case "get_from_editor_dom":				var imgs = content.getElementsByTagName("img");				for (var i=0; i<imgs.length; i++) {					var onmouseover = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseover'));					var onmouseout = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseout'));					if ((src = this._getImageSrc(onmouseover)) != "") {						if (tinyMCE.getParam('convert_urls'))							src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, null, true);");						imgs[i].setAttribute('onmouseover', "this.src='" + src + "';");					}					if ((src = this._getImageSrc(onmouseout)) != "") {						if (tinyMCE.getParam('convert_urls'))							src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, null, true);");						imgs[i].setAttribute('onmouseout', "this.src='" + src + "';");					}				}				break;		}		return content;	},
meta: 2801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2801/09b02dc0815a4185c0a68f5283d4d3553a7aa318/editor_plugin_src.js/clean/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js