add:   var sortedCol; switch (column) { case "rawHost": sortedCol = document.getElementById("domainCol"); break; case "name": sortedCol = document.getElementById("nameCol"); break; case "expires": sortedCol = document.getElementById("expiresCol"); break; case "status": sortedCol = document.getElementById("statusCol"); break; } if (lastCookieSortAscending) sortedCol.setAttribute("sortDirection", "descending"); else sortedCol.setAttribute("sortDirection", "ascending");   var currentCol = sortedCol.parentNode.firstChild; while (currentCol) { if (currentCol != sortedCol && currentCol.localName == "treecol") currentCol.removeAttribute("sortDirection"); currentCol = currentCol.nextSibling; } 
context: function CookieColumnSort(column) {  lastCookieSortAscending =    SortTree(cookiesTree, cookiesTreeView, cookies,                 column, lastCookieSortColumn, lastCookieSortAscending);  lastCookieSortColumn = column;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b1bade834e41cebed916a608ae69a6c384e58882/cookieViewer.js/buggy/xpfe/components/permissions/content/cookieViewer.js