rem: anchor.href="javascript:removeParent("+id+");" 
add: anchor.href='#'; anchor.id=id; addEvent(anchor,'click',function(e){ myargs=(e.srcElement===undefined)?this:e.srcElement; removeParent(myargs.id); }); 
context: function gtd_gotparent(id,title,type) {    if (document.getElementById('parentrow'+id)) return;    var newrow=document.createElement('tr');    newrow.id='parentrow'+id;        var cell=document.createElement('td');    var anchor=document.createElement('a');    anchor.href="javascript:removeParent("+id+");"    anchor.title='remove as parent';    anchor.className='remove';    anchor.appendChild(document.createTextNode('X'));    cell.appendChild(anchor)    newrow.appendChild(cell);        cell=document.createElement('td');    anchor=document.createElement('a');    anchor.href="itemReport.php?itemId="+id;    anchor.title='view parent';    anchor.appendChild(document.createTextNode(title));    cell.appendChild(anchor)    newrow.appendChild(cell);    cell=document.createElement('td');    cell.appendChild(document.createTextNode(type));    var input=document.createElement('input');    input.type='hidden';    input.name='parentId[]';    input.value=id;    cell.appendChild(input);    newrow.appendChild(cell);    document.getElementById("parentlist").appendChild(newrow);}
meta: 1337	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1337/3cd5cc24defd428a84935229b3847468620a79e9/enhancers.js/clean/enhancers.js