rem: HTMLArea._addEvent(el, "mousedown", function (ev) { if (obj.enabled) with (HTMLArea) { _addClass(el, "buttonActive"); _removeClass(el, "buttonPressed"); _stopEvent(is_ie ? window.event : ev); } }); 
add: this._popupDialog("insert_image.html", function(param) { if (!param) { return false; } var img = image; if (!img) { var sel = editor._getSelection(); var range = editor._createRange(sel); editor._doc.execCommand("insertimage", false, param.f_url); if (HTMLArea.is_ie) { img = range.parentElement();  if (img.tagName.toLowerCase() != "img") { img = img.previousSibling; } } else { img = range.startContainer.previousSibling; } } else { img.src = param.f_url; }  for (field in param) { var value = param[field]; switch (field) { case "f_alt"    : img.alt	 = value; break; case "f_border" : img.border = parseInt(value || "0"); break; case "f_align"  : img.align	 = value; break; case "f_vert"   : img.vspace = parseInt(value || "0"); break; case "f_horiz"  : img.hspace = parseInt(value || "0"); break; } } }, outparam); 
context:       HTMLArea._addEvent(el, "mousedown", function (ev) {        if (obj.enabled) with (HTMLArea) {          _addClass(el, "buttonActive");          _removeClass(el, "buttonPressed");          _stopEvent(is_ie ? window.event : ev);        }      });
meta: 7119	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7119/4d968a51f578e3361a382d6fa8372e519c47ba55/htmlarea.js/clean/phpgwapi/js/htmlarea/htmlarea.js