rem: var tree = document.getElementById( "skinsTree" ); 
add: var list = document.getElementById( "skinsList" ); 
context: function Startup(){  gData = parent.hPrefWindow.wsm.dataManager.pageData["chrome://communicator/content/pref/pref-themes.xul"];  var tree = document.getElementById( "skinsTree" );  if (gData.loaded) {    tree.selectedIndex = gData.themeIndex;        return;  }  gData.loaded = true;  parent.hPrefWindow.registerOKCallbackFunc( applySkin );  const kPrefSvcContractID = "@mozilla.org/preferences;1";  const kPrefSvcIID = Components.interfaces.nsIPref;  const kPrefSvc = Components.classes[kPrefSvcContractID].getService(kPrefSvcIID);  var theme = null;  try {    theme = kPrefSvc.getComplexValue("general.skins.selectedSkin",                                     Components.interfaces.nsISupportsWString).data;  } catch (e) {  }  var theSkinKids = document.getElementById("theSkinKids");  var matches;  for (var i = 0; i < theSkinKids.childNodes.length; ++i) {    var child = theSkinKids.childNodes[i];    var name = child.getAttribute("name");    if (!theme)      matches = chromeRegistry.isSkinSelected(name, true) == Components.interfaces.nsIChromeRegistry.FULL;    else      matches = name == theme;    if (matches) {      tree.selectItem(child);      break;    }        }  var navbundle = document.getElementById("bundle_navigator");  var showSkinsDescription = navbundle.getString("showskinsdescription");  if( showSkinsDescription == "false" )  {    gShowDescription = false;    var description = document.getElementById("description");    while (description.hasChildNodes())      description.removeChild(description.firstChild);  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1e2d5d9ba4147d5ea3cc58789a6ba7f2426d0695/pref-themes.js/buggy/suite/common/pref/pref-themes.js