dialog.wrap.checked            = gFindInst.wrapFind ? gFindInst.wrapFind : findService.wrapFind; 
function fillDialog(){  // get the find service, which stores global find state  var findService = Components.classes["@mozilla.org/find/find_service;1"]                              .getService(Components.interfaces.nsIFindService);    // Set initial dialog field contents. Use the gFindInst attributes first,  // this is necessary for window.find()  dialog.findKey.value           = gFindInst.searchString ? gFindInst.searchString : findService.searchString;  dialog.caseSensitive.checked   = gFindInst.matchCase ? gFindInst.matchCase : findService.matchCase;  // Don't initialize Wrap here, we just want it to be checked.   var findBackwards              = gFindInst.findBackwards ? gFindInst.findBackwards : findService.findBackwards;  if (findBackwards)    dialog.rg.selectedItem = dialog.up;  else    dialog.rg.selectedItem = dialog.down;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/db64d03233d98fb0dd4eafa0e8c214c4ad638dfa/finddialog.js/buggy/toolkit/content/finddialog.js