rem: if (servernode.tagName != "treeitem") { 
add: if (servernode.localName != "treeitem") { 
context: function getServerIdAndPageIdFromTree(tree){  var serverId = null;  if (tree.selectedItems.length < 1) return null;  var node = tree.selectedItems[0];  // get the page to load  // (stored in the PageTag attribute of this node)  var pageId = node.getAttribute('PageTag');  // get the server's Id  // (stored in the Id attribute of the server node)  var servernode = node.parentNode.parentNode;  // for toplevel treeitems, we just use the current treeitem  //  dump("servernode is " + servernode + "\n");  if (servernode.tagName != "treeitem") {    servernode = node;  }  serverId = servernode.getAttribute('id');    return {"serverId": serverId, "pageId": pageId }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c613e3151096f0000d6e6fe527b7c21e81036824/AccountManager.js/clean/mailnews/base/prefs/resources/content/AccountManager.js