rem: gFindInst = window.arguments[0]; 
add: var finder = window.arguments[0];   gFindInst = finder.QueryInterface(Components.interfaces.nsIWebBrowserFind); 
context: function onLoad(){  initDialogObject();  // Change "OK" to "Find".  dialog.find.label = document.getElementById("fBLT").getAttribute("label");  // Setup the dialogOverlay.xul button handlers.  doSetOKCancel(onOK, onCancel);  // get the find instance  gFindInst = window.arguments[0];  fillDialog();  doEnabling();  if (dialog.findKey.value)    dialog.findKey.select();  else    dialog.findKey.focus();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e6c797602aff0268cf7bc099ef884955a994801f/finddialog.js/buggy/xpfe/components/find/resources/finddialog.js