rem: Registry.openWellKnownRegistry(Registry.ApplicationRegistry);  
add: Registry.open(regFile.path);  
context: function StartUp(){  SetUpOKCancelButtons();  centerWindowOnScreen();  if(window.location && window.location.search && window.location.search == "?manage=true" )    SwitchProfileManagerMode();  Registry = Components.classes['component://netscape/registry'].createInstance();  Registry = Registry.QueryInterface(Components.interfaces.nsIRegistry);  Registry.openWellKnownRegistry(Registry.ApplicationRegistry);  loadElements();  highlightCurrentProfile();  // set the checkbox to reflect the current state.  var offlineState = document.getElementById("offlineState");  try {    var ioService = nsJSComponentManager.getServiceByID("{9ac9e770-18bc-11d3-9337-00104ba0fd40}",                                                    "nsIIOService");    offlineState.checked = ioService.offline;  }  catch(e) {  }  var profileTree = document.getElementById("profiles");  profileTree.focus();      DoEnabling();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2f4d351f76f1f46a8de40aafd1e3cf160594bc9e/profileSelection.js/buggy/profile/resources/content/profileSelection.js