rem: if (useTypes) thistype=mapTypeToName(types[i]); 
add: if (useTypes) {thistype=mapTypeToName(types[i]);} 
context: function gtd_searchdiv_init(ids,titles,types,onetype) {    parentIds=ids;    ptypes=types;    ptitles=new Array();    ptitleslc=new Array();    var box=document.getElementById('searchresults');    if (box.hasChildNodes()) box.removeChild(box.lastChild);    var line; var anchor; var linetext; var thistype;    var useTypes=(types.length);    if (!useTypes) qtype=thistype=mapTypeToName(onetype);    for (var i=0;i<titles.length;i++) {        ptitles[i]=unescape(titles[i]);        ptitleslc[i]=ptitles[i].toLowerCase();        if (useTypes) thistype=mapTypeToName(types[i]);                line=document.createElement('p');        anchor=document.createElement('a');        anchor.href="javascript:gtd_gotparent("+parentIds[i]+',"'                + ptitles[i]+'","' + thistype+'");';        anchor.appendChild(document.createTextNode('+'));        line.appendChild(anchor);        linetext = ptitles[i];        if (useTypes) linetext += " ("+thistype+")";        line.appendChild(document.createTextNode(linetext));        line.style.display=(!useTypes || types[i]==onetype)?'block':'none';        box.appendChild(line);    }}
meta: 1337	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1337/3cd5cc24defd428a84935229b3847468620a79e9/enhancers.js/clean/enhancers.js