var distroId = prefs.getCharPref("distribution.id"); if (distroId) { var distroVersion = prefs.getCharPref("distribution.version"); var distroAbout = prefs.getComplexValue("distribution.about", Ci.nsISupportsString); 
try { var distroId = prefs.getCharPref("distribution.id"); if (distroId) { var distroVersion = prefs.getCharPref("distribution.version"); var distroAbout = prefs.getComplexValue("distribution.about", Ci.nsISupportsString); 
function init(aEvent) {  if (aEvent.target != document)    return;  var prefSvc = Cc["@mozilla.org/preferences-service;1"].    getService(Ci.nsIPrefService);  var prefs = prefSvc.getBranch(null);  var distroId = prefs.getCharPref("distribution.id");  if (distroId) {    var distroVersion = prefs.getCharPref("distribution.version");    var distroAbout = prefs.getComplexValue("distribution.about", Ci.nsISupportsString);      var distroField = document.getElementById("distribution");    distroField.value = distroAbout;    distroField.style.display = "block";      var distroIdField = document.getElementById("distributionId");    distroIdField.value = distroId + " - " + distroVersion;    distroIdField.style.display = "block";  }  var userAgentField = document.getElementById("userAgent");  userAgentField.value = navigator.userAgent;  var button = document.documentElement.getButton("extra2");  button.setAttribute("label", document.documentElement.getAttribute("creditslabel"));  button.setAttribute("accesskey", document.documentElement.getAttribute("creditsaccesskey"));  button.addEventListener("command", switchPage, false);  document.documentElement.getButton("accept").focus();#ifdef XP_MACOSX  // it may not be sized at this point, and we need its width to calculate its position  window.sizeToContent();  window.moveTo((screen.availWidth / 2) - (window.outerWidth / 2), screen.availHeight / 5);#endif}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/98338bedfbc705361cf87cdc2cf8a0368b852b07/aboutDialog.js/buggy/browser/base/content/aboutDialog.js