var search = this.search; 
var search = this.search; search.end = null; 
  EncloseMath: function (element) {    var search = this.search;    var close = search.close;    if (search.cpos == close.length) {close = close.nextSibling}       else {close = close.splitText(search.cpos)}    if (!close) {close = jsMath.document.createTextNode("")}    if (element == search.close) {element = close}    var math = search.open.splitText(search.pos);    while (math.nextSibling && math.nextSibling != close) {      if (math.nextSibling.nodeValue) {math.nodeValue += math.nextSibling.nodeValue}        else {math.nodeValue += ' '}      math.parentNode.removeChild(math.nextSibling);    }    var TeX = math.nodeValue.substr(search.olength,      math.nodeValue.length-search.olength-search.clength);    math.parentNode.removeChild(math);    math = this.createMathTag(search.type,TeX);    //    //  This is where older, buggy browsers can fail under unpredicatble     //  circumstances, so we trap errors and at least get to continue    //  with the rest of the math.  (## should add error message ##)    //    try {      if (close && close.parentNode) {        close.parentNode.insertBefore(math,close);      } else if (search.open.nextSibling) {        search.open.parentNode.insertBefore(math,search.open.nextSibling);      } else {        search.open.parentNode.appendChild(math);      }    } catch (err) {}    this.search = {}; this.pattern.lastIndex = 0;    return math;  },
1963	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1963/b61e1d309b0ecd4f851bf6d502f9d4406963c232/tex2math.js/clean/htdocs/jsMath/plugins/tex2math.js