treeColumns(i).removeAttribute('sortDirection'); 
treeColumns[i].removeAttribute('sortDirection'); 
function UpdateSortIndicators(sortType, sortOrder){  // Remove the sort indicator from all the columns  var treeColumns = document.getElementById('threadCols').childNodes;  for (var i = 0; i < treeColumns.length; i++)    treeColumns(i).removeAttribute('sortDirection');  // show the twisties if the view is threaded  var threadCol = document.getElementById("threadCol");  var sortedColumn;  // set the sort indicator on the column we are sorted by  var colID = ConvertSortTypeToColumnID(sortType);  if (colID)    sortedColumn = document.getElementById(colID);  var dbview = GetDBView();  var currCol = dbview.viewFlags & nsMsgViewFlagsType.kGroupBySort     ? sortedColumn : document.getElementById("subjectCol");  if (dbview.viewFlags & nsMsgViewFlagsType.kGroupBySort)  {    var threadTree = document.getElementById("threadTree");      var subjectCol = document.getElementById("subjectCol");    if (groupedBySortUsingDummyRow())    {      currCol.removeAttribute("primary");      subjectCol.setAttribute("primary", "true");    }    // hide the threaded column when in grouped view since you can't do     // threads inside of a group.    document.getElementById("threadCol").collapsed = true;  }  // clear primary attribute from group column if going to a non-grouped view.  if (!(dbview.viewFlags & nsMsgViewFlagsType.kGroupBySort))    document.getElementById("threadCol").collapsed = false;  if ((dbview.viewFlags & nsMsgViewFlagsType.kThreadedDisplay) && !groupedBySortUsingDummyRow()) {    threadCol.setAttribute("sortDirection", "ascending");    currCol.setAttribute("primary", "true");  }  else {    threadCol.removeAttribute("sortDirection");    currCol.removeAttribute("primary");  }  if (sortedColumn) {    if (sortOrder == nsMsgViewSortOrder.ascending) {      sortedColumn.setAttribute("sortDirection","ascending");    }    else {      sortedColumn.setAttribute("sortDirection","descending");    }  }}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/f64fc6547a710cbff54ee765b9a5dcda007f019d/threadPane.js/buggy/mailnews/base/resources/content/threadPane.js