if (this._type) {  this.uninit(); }  
  init: function (aParams)  {    this._type = aParams.permissionType;        var permissionsText = document.getElementById("permissionsText");    while (permissionsText.hasChildNodes())      permissionsText.removeChild(permissionsText.firstChild);    permissionsText.appendChild(document.createTextNode(aParams.introText));    document.title = aParams.windowTitle;        document.getElementById("btnBlock").hidden    = !aParams.blockVisible;    document.getElementById("btnSession").hidden  = !aParams.sessionVisible;    document.getElementById("btnAllow").hidden    = !aParams.allowVisible;        var urlField = document.getElementById("url");    urlField.value = aParams.prefilledHost;        this.onHostInput(urlField);        var os = Components.classes["@mozilla.org/observer-service;1"]                       .getService(Components.interfaces.nsIObserverService);    os.addObserver(this, "perm-changed", false);    if (this._type == "install") {      var enumerator = this._pm.enumerator;      if (!enumerator.hasMoreElements())        this._updatePermissions();    }    this._loadPermissions();        urlField.focus();  },
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/02b197c4521647094f7212599a86ddbc846db688/permissions.js/clean/browser/components/preferences/permissions.js