rem: dump("XXX on lock\n"); 
add: var initPrefString = "mail.identity"; var finalPrefString;  var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);  var allPrefElements = [ { prefstring:"signingCertSelectButton", id:"signingCertSelectButton"}, { prefstring:"encryptionCertSelectButton", id:"encryptionCertSelectButton"} ];  finalPrefString = initPrefString + "." + gIdentity.key + "."; gSmimePrefbranch = prefService.getBranch(finalPrefString);  disableIfLocked( allPrefElements ); 
context: function onLockPreference(){  dump("XXX on lock\n");}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5b9ab3f0a4933f47f37d7aef4a0fa88f976350aa/am-smime.js/buggy/mailnews/extensions/smime/resources/content/am-smime.js