rem: window.parent.jInsertEditorText(tag); 
add: window.parent.jInsertEditorText(tag, this.editor); 
context: 	onok: function()	{		extra = '';		// Get the image tag field information		var url		= this.fields.url.getValue();		var alt		= this.fields.alt.getValue();		var align	= this.fields.align.getValue();		var title	= this.fields.title.getValue();		var caption	= this.fields.caption.getValue();		if (url != '') {			// Set alt attribute			if (alt != '') {				extra = extra + 'alt="'+alt+'" ';			} else {				extra = extra + 'alt="" ';			}			// Set align attribute			if (align != '') {				extra = extra + 'align="'+align+'" ';			}			// Set align attribute			if (title != '') {				extra = extra + 'title="'+title+'" ';			}			// Set align attribute			if (caption != '') {				extra = extra + 'class="caption" ';			}			var tag = "<img src=\""+url+"\" "+extra+"/>";		}		window.parent.jInsertEditorText(tag);		return false;	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/1b8f10670f21f0d3c1d540b62b35383b478383a6/popup-imagemanager.js/clean/components/com_media/assets/popup-imagemanager.js