rem: var editor_obj = d.getElementById(editor_id); 
add: var editor_obj = FA.getObj(editor_id); 
context: function do_emoticon(textarea_id, emo_image, emo_typed) {	var textarea_obj = d.getElementById(textarea_id);	if(textarea_obj && typeof(textarea_obj) != 'undefined') {				if(typeof(textarea_obj.style.display) == 'undefined' 			|| (typeof(textarea_obj.style.display) != 'undefined' 			&& (				textarea_obj.style.display == '' 				|| textarea_obj.style.display == 'block'			))) {			textarea_obj.value += ' ' + emo_typed + ' ';		} else {			var editor_id = textarea_id + '_k4rte';			var editor_obj = d.getElementById(editor_id);			if(typeof(editor_obj) != 'undefined') {								try {					var rte = k4RTEFactory.createInstance(false, false);					var editor_dom = rte.get_object_document(editor_obj);					editor_dom.execCommand('InsertImage', false, FORUM_URL + '/tmp/upload/emoticons/' + emo_image);				} catch(e) { }			}		}	}}
meta: 8193	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8193/d55368118dec4a8f237e8e432dd97304d21083d6/javascript.js/clean/trunk/upload/js/javascript.js