rem: var tree = document.getElementById('addressingWidgetTree'); try { var theNewRow = awGetTreeRow(top.awRow); 
add: var listbox = document.getElementById('addressingWidget');   var theNewRow = awGetListItem(top.awRow); 
context: function _awSetFocus(){  var tree = document.getElementById('addressingWidgetTree');  try  {    var theNewRow = awGetTreeRow(top.awRow);    //temporary patch for bug 26344    awFinishCopyNode(theNewRow);    //Warning: firstVisibleRow is zero base but top.awRow is one base!    var firstVisibleRow = tree.getIndexOfFirstVisibleRow();    var numOfVisibleRows = tree.getNumberOfVisibleRows();    //Do we need to scroll in order to see the selected row?    if (top.awRow <= firstVisibleRow)      tree.scrollToIndex(top.awRow - 1);    else      if (top.awRow - 1 >= (firstVisibleRow + numOfVisibleRows))        tree.scrollToIndex(top.awRow - numOfVisibleRows);    top.awInputElement.focus();    // stop supressing command updating and update the toolbar, since focus has changed    SuppressComposeCommandUpdating(false);  }  catch(ex)  {    top.awFocusRetry ++;    if (top.awFocusRetry < 3)    {      dump("_awSetFocus failed, try it again...\n");      setTimeout("_awSetFocus();", 0);    }    else      dump("_awSetFocus failed, forget about it!\n");  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/addressingWidgetOverlay.js/buggy/mailnews/compose/resources/content/addressingWidgetOverlay.js