 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"; }  
function init(aEvent) {  if (aEvent.target != document)    return;  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}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/cde460cf9572e897ca57976e5c5587acbbefe26c/aboutDialog.js/buggy/browser/base/content/aboutDialog.js