rem: editor._popupDialog( "plugin: if ( param ) { var anchor = param["name"]; if (anchor == "" || anchor == null) { if (a) { var child = a.innerHTML; a.parentNode.removeChild(a); editor.insertHTML(child); } return; } try { var doc = editor._doc; if (!a) {  a = doc.createElement("a"); a.id = anchor; a.name = anchor; a.title = anchor; a.className = "anchor"; a.innerHTML = html; if (HTMLArea.is_ie) { range.pasteHTML(a.outerHTML); } else { editor.insertNodeAtSelection(a); } } else { a.id = anchor; a.name = anchor; a.title = anchor; a.className = "anchor"; } } catch (e) { } } }, outparam); 
add: _8._popupDialog("plugin: if(_e){ var _f=_e["name"]; if(_f==""||_f==null){ if(a){ var _10=a.innerHTML; a.parentNode.removeChild(a); _8.insertHTML(_10); } return; } try{ var doc=_8._doc; if(!a){ a=doc.createElement("a"); a.id=_f; a.name=_f; a.title=_f; a.className="anchor"; a.innerHTML=_a; if(HTMLArea.is_ie){ _c.pasteHTML(a.outerHTML); }else{ _8.insertNodeAtSelection(a); } }else{ a.id=_f; a.name=_f; a.title=_f; a.className="anchor"; } } catch(e){ } } },_9); 
context:   editor._popupDialog( "plugin://InsertAnchor/insert_anchor", function( param ) {    if ( param ) {      var anchor = param["name"];      if (anchor == "" || anchor == null) {        if (a) {          var child = a.innerHTML;          a.parentNode.removeChild(a);          editor.insertHTML(child);        }        return;      }       try {        var doc = editor._doc;        if (!a) {//          editor.surroundHTML('<a id="' + anchor + '" name="' + anchor + '" title="' + anchor + '" class="anchor">', '</a>');          a = doc.createElement("a");          a.id = anchor;          a.name = anchor;          a.title = anchor;          a.className = "anchor";          a.innerHTML = html;          if (HTMLArea.is_ie) {            range.pasteHTML(a.outerHTML);          } else {            editor.insertNodeAtSelection(a);          }        } else {          a.id = anchor;          a.name = anchor;          a.title = anchor;          a.className = "anchor";        }      }      catch (e) { }    }  }, outparam);
meta: 6015	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6015/d8776708e0e10dfa0ab6ee1d0fa9e512d8d16348/insert-anchor.js/clean/packages/acs-templating/www/resources/xinha-nightly/plugins/InsertAnchor/insert-anchor.js