rem: var source; if (IE) source = event.srcElement; else source = evt.target; 
add: var source = getEvtTarget(evt); 
context: function expandCollapse(evt){  var source;  if (IE)    source = event.srcElement;  else    source = evt.target;  if (source.className != "collapsible")    return;  var tagid = source.getAttribute("CHILD", false);    var children = getElementsById(tagid);  if (children == null) { // i.e. a leaf    return;  }    var isvisible = "";  if (children.style == null) // it's an array;  {    for (var i=0; i<children.length; i++)    {      isvisible = toggleDisplay(children[i], 'display', true);    }  }  else  {    isvisible = toggleDisplay(children, 'display', true);  }  source.style.listStyleImage = (isvisible == "none") ? "url('images/minus.gif')" : "url('images/plus.gif')";}
meta: 4474	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4474/8a9a2202d029aaf3c9b07d5dd02e3ea0cf221fd5/display.js/buggy/htdocs/display.js