rem: var tree = document.getElementById("accounttree"); tree.clearItemSelection(); tree.setAttribute('ref', tree.getAttribute('ref')); 
add:  accounttree.clearItemSelection(); accounttree.setAttribute('ref', accounttree.getAttribute('ref'));    window.arguments[0].refresh = true; 
context: function refreshAccounts(){  var tree = document.getElementById("accounttree");  tree.clearItemSelection();  tree.setAttribute('ref', tree.getAttribute('ref'));}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/da6aaee871d53afd9c330c66a55c38f10053f858/AccountManager.js/clean/mailnews/base/prefs/resources/content/AccountManager.js