rem: if (nsPrefBranch.prefIsLocked("mail.accountmanager.accounts")) 
add: if (nsPrefBranch.prefIsLocked("mail.disable_new_account_addition")) 
context: function menu_new_init(){  if (!nsPrefBranch) {    var prefService = Components.classes["@mozilla.org/preferences-service;1"];    prefService = prefService.getService();    prefService = prefService.QueryInterface(Components.interfaces.nsIPrefService);    nsPrefBranch = prefService.getBranch(null);  }  var newAccountItem = document.getElementById('newAccountMenuItem');  if (nsPrefBranch.prefIsLocked("mail.accountmanager.accounts"))    newAccountItem.setAttribute("disabled","true");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5b9ab3f0a4933f47f37d7aef4a0fa88f976350aa/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js