rem: } else { document.forms.clipboard.text.value += calculateMarkup(_new.documentElement,true); 
add: } else { document.getElementById("bx_form_clipboard" ).text.value += calculateMarkup(_new.documentElement,true); 
context: function BX_source_edit(id, selectNodeContents){    if (BX_range)    {        if (!BX_xslViewSource || !BX_xslViewSource.documentElement)        {            if (!BX_xslViewSource) {                BX_xslViewSource = document.implementation.createDocument("","",null);                BX_xslViewSource.load(BX_xslViewSourceFile);            }            //        	BX_xslViewSource.onload = null;  // set the callback when we are done loading            window.setTimeout("BX_source_edit('"+id+"',"+selectNodeContents+")",50);            return;        }        //		var edit_element = document.getElementById(id).cloneNode(true);        var edit_element = BX_xml.implementation.createDocument("","",null);        edit_element.appendChild(document.getElementById(id).cloneNode(true));        if (edit_element) {            var _new = BX_xml.implementation.createDocument("","",null);            BX_xsltProcessor.transformDocument( edit_element, BX_xslViewSource, _new, null);        }        else { BX_popup_hide(); return; }        //	BX_clipboard = document.getElementById(id).cloneNode(1);        //	document.getElementById(id).parentNode.removeChild(document.getElementById(id));        //	BX_selection.selectAllChildren(document.getElementById(id));        BX_popup_start("Edit Source ",500,0);        var html = ' <center class="text"><form name="clipboard">';        html += '<input class="buttonklein" type="button" value="Append CDATA" onClick=\'BX_clipboard_insertCDATA()\'>&#160;';        html += '<textarea name="text" class="clipboardtext" style="margin: 10px;" wrap="virtual" cols="70" rows="28"></textarea>';        html += '<input class="text" type="button" value="update" onClick=\'BX_source_insert("'+id+'",'+selectNodeContents+')\'>';        html += '</form></center>';        BX_popup_addHtml(html);        if(_new.documentElement)        {            if (selectNodeContents )            {                childLength = _new.documentElement.childNodes.length                              for (var i = 0; i < childLength; i++)                              {                                  document.forms.clipboard.text.value += calculateMarkup(_new.documentElement.childNodes[i],true);                              }                          }                          else                          {                              document.forms.clipboard.text.value += calculateMarkup(_new.documentElement,true);                          }                      }                      document.removeEventListener("keypress",BX_keypress,false);        document.removeEventListener("keyup",BX_onkeyup,false);        document.forms.clipboard.text.focus();        BX_popup_show();        //fix for mozilla on mac and windows...        BX_popup.style.top=BX_popup.offsetTop - 1 + "px";    }}
meta: 791	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/23e4752e13536f63516c1ece4dd47e95e4cd7f52/bitfluxeditor_core.js/clean/src/webapp/lenya/resources/misc/bitflux/bxe/js/bitfluxeditor_core.js