rem: top.awInputElement.focus(); } 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"); } 
add: top.awInputElement.focus(); } 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"); } 
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();	}	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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/addressingWidgetOverlay.js/buggy/mailnews/compose/resources/content/addressingWidgetOverlay.js