rem: var fnt = document.getElementById('insitu-fn'+id); if (!fnt) { 
add: var fnote = document.getElementById('insitu-fn'+id); var footnote; if (!fnote) { 
context: function fnt(id, e, evt) {    if (currentFootnote && id != currentFootnote) {        domTT_close(document.getElementById('insitu-fn'+currentFootnote));    }        // does the footnote tooltip already exist?    var fnt = document.getElementById('insitu-fn'+id);    if (!fnt) {        // if not create it...            // locate the footnote anchor element        var a = document.getElementById( "fn"+id );            if (!a) return;                // anchor parent is the footnote container, get its innerHTML        var footnote = new String (a.parentNode.innerHTML);                // strip the leading footnote anchors and their comma separators        footnote = footnote.replace(/<a\s.*?href=\".*\#fnt\d+\".*?<\/a>/gi, '');        footnote = footnote.replace(/^\s+(,\s+)+/,'');                // prefix ids on any elements with "insitu-" to ensure they remain unique        footnote = footnote.replace(/\bid=\"(.*?)\"/gi,'id="insitu-$1');   	} else {        var footnote = new String(fnt.innerHTML);    }        // activate the tooltip    domTT_activate(e, evt, 'content', footnote, 'type', 'velcro', 'id', 'insitu-fn'+id, 'styleClass', 'insitu-footnote JSpopup', 'maxWidth', document.body.offsetWidth*0.4);    currentFootnote = id;    }
meta: 5490	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5490/78a6aeb15ad85c8be4a7e39307b7d9aa0512742c/script.js/clean/lib/scripts/script.js