rem: editor._popupDialog("plugin: if (param) { if(frm) { frm.name = param["f_name"]; setAttr(frm, "action", param["f_action"]); setAttr(frm, "method", param["f_method"]); setAttr(frm, "enctype",param["f_enctype"]); setAttr(frm, "target", param["f_target"]); } else { frm = '<form name="' + param["f_name"] + '"'; if (param["f_action"] != "") frm += ' action="' + param["f_action"] + '"'; if (param["f_method"] != "") frm += ' method="' + param["f_method"] + '"'; if (param["f_enctype"] != "") frm += ' enctype="' + param["f_enctype"] + '"'; if (param["f_target"] != "") frm += ' target="' + param["f_target"] + '"'; frm += '>'; editor.surroundHTML(frm, '&nbsp;</form>'); } } }, outparam); 
add: _10._popupDialog("plugin: if(_1b){ if(frm){ frm.name=_1b["f_name"]; frm.setAttribute("action",_1b["f_action"]); frm.setAttribute("method",_1b["f_method"]); frm.setAttribute("enctype",_1b["f_enctype"]); frm.setAttribute("target",_1b["f_target"]); }else{ frm="<form name=\""+_1b["f_name"]+"\""; if(_1b["f_action"]!=""){ frm+=" action=\""+_1b["f_action"]+"\""; } if(_1b["f_method"]!=""){ frm+=" method=\""+_1b["f_method"]+"\""; } if(_1b["f_enctype"]!=""){ frm+=" enctype=\""+_1b["f_enctype"]+"\""; } if(_1b["f_target"]!=""){ frm+=" target=\""+_1b["f_target"]+"\""; } frm+=">"; _10.surroundHTML(frm,"&nbsp;</form>"); } } },_15); 
context:     editor._popupDialog("plugin://Forms/form", function(param) {      if (param) {        if(frm) {          frm.name = param["f_name"];          setAttr(frm, "action", param["f_action"]);          setAttr(frm, "method", param["f_method"]);          setAttr(frm, "enctype",param["f_enctype"]);          setAttr(frm, "target", param["f_target"]);        } else {          frm = '<form name="' + param["f_name"] + '"';          if (param["f_action"] != "") frm += ' action="' + param["f_action"] + '"';          if (param["f_method"] != "") frm += ' method="' + param["f_method"] + '"';          if (param["f_enctype"] != "") frm += ' enctype="' + param["f_enctype"] + '"';          if (param["f_target"] != "") frm += ' target="' + param["f_target"] + '"';          frm += '>';          editor.surroundHTML(frm, '&nbsp;</form>');        }      }    }, outparam);
meta: 6015	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6015/d8776708e0e10dfa0ab6ee1d0fa9e512d8d16348/forms.js/buggy/packages/acs-templating/www/resources/xinha-nightly/plugins/Forms/forms.js