rem: var finder = window.arguments[0];   gFindInst = finder.QueryInterface(Components.interfaces.nsIWebBrowserFind); 
add: var arg0 = window.arguments[0]; if (arg0 instanceof window.opener.nsFindInstData) { gFindInstData = arg0; gFindInst = gFindInstData.webBrowserFind; } else {   gFindInst = arg0.QueryInterface(Components.interfaces.nsIWebBrowserFind); } 
context: function onLoad(){  initDialogObject();  // Change "OK" to "Find".  dialog.find.label = document.getElementById("fBLT").getAttribute("label");  dialog.find.accessKey = document.getElementById("fBLT").getAttribute("accesskey");  // get the find instance  var finder = window.arguments[0];  // If the dialog was opened from window.find(), findInst will be an  // nsISupports interface, so QueryInterface anyway to nsIWebBrowserFind.  gFindInst = finder.QueryInterface(Components.interfaces.nsIWebBrowserFind);  fillDialog();  doEnabling();  if (dialog.findKey.value)    dialog.findKey.select();  dialog.findKey.focus();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/9d7d2a4332f17643856134ba49e31c507439260f/finddialog.js/clean/xpfe/components/find/resources/finddialog.js