rem: cell.setAttribute('label', gNewServer); cell.setAttribute('string', gNewServerString); 
add: item.setAttribute('label', gNewServer); item.setAttribute('string', gNewServerString); 
context: function newDirectory(){  window.openDialog("chrome://messenger/content/addressbook/pref-directory-add.xul",                    "addDirectory", "chrome,modal=yes,resizable=no");  if(gUpdate && gNewServer && gNewServerString) {    var tree = document.getElementById("directoriesTree_root");    var item = document.createElement('treeitem');    var row  = document.createElement('treerow');    var cell = document.createElement('treecell');    cell.setAttribute('label', gNewServer);    cell.setAttribute('string', gNewServerString);    row.appendChild(cell);    item.appendChild(row);    tree.appendChild(item);    gNewServer = null;    gNewServerString = null;    window.opener.gRefresh = true;  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/pref-directory.js/buggy/mailnews/addrbook/prefs/resources/content/pref-directory.js