rem: var editor = document.getElementById(editor_id); 
add: var editor = FA.getObj(editor_id); 
context: function bbcodex_close_tags(editor_id) {	var editor = document.getElementById(editor_id);	/* Loop through the open tags array */	for(var i = (sizeof(bbcode_opentags) - 1); i >= 0; i--) {				if(bbcode_opentags[i]) { 			/* Update the editor value */			editor.value				+= bbcode_opentags[i][1];			/* Change the look of this button */			bbcode_opentags[i].value	= bbcode_opentags[i][2].name.toUpperCase();			/* Remove this tag from the open tags array */			array_unset(bbcode_opentags, bbcode_opentags[i]);		}	}}
meta: 8193	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8193/d55368118dec4a8f237e8e432dd97304d21083d6/bbcode.js/buggy/trunk/upload/templates/Descent/bbcode.js