rem: replace: function(element, html) { element = $(element); if (element.outerHTML) { element.outerHTML = html.stripScripts(); } else { var range = element.ownerDocument.createRange(); range.selectNodeContents(element); element.parentNode.replaceChild( range.createContextualFragment(html.stripScripts()), element); } setTimeout(function() {html.evalScripts()}, 10); 
add: replace: function(element, html) { element = $(element); if (element.outerHTML) { element.outerHTML = html.stripScripts(); } else { var range = element.ownerDocument.createRange(); range.selectNodeContents(element); element.parentNode.replaceChild( range.createContextualFragment(html.stripScripts()), element); } setTimeout(function() {html.evalScripts()}, 10); 
context:   replace: function(element, html) {    element = $(element);    if (element.outerHTML) {      element.outerHTML = html.stripScripts();    } else {      var range = element.ownerDocument.createRange();      range.selectNodeContents(element);      element.parentNode.replaceChild(        range.createContextualFragment(html.stripScripts()), element);    }    setTimeout(function() {html.evalScripts()}, 10);  },
meta: 1503	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1503/e3bfd08cbcbffddf53de4f0f6030a794402cf532/prototype.js/buggy/railties/html/javascripts/prototype.js