rem: this.selectedColumn = col.id || col; 
add: this.selectedColumn = (typeof(col)=="object" ? col.id : col); 
context:    cycleHeader : function(col, element) // element parameter used in Moz1.7-   {                                    // not in Moz1.8+      var sortActive;      var treeCols;         // Moz1.8 trees require column.id, moz1.7 and earlier trees use column.      this.selectedColumn = col.id || col;        if (!element) element = col.element;  // in Moz1.8+, get element from col      sortActive = element.getAttribute("sortActive");      this.sortDirection = element.getAttribute("sortDirection");         if (sortActive != "true")      {         treeCols = document.getElementsByTagName("treecol");         for (var i = 0; i < treeCols.length; i++)         {            treeCols[i].removeAttribute("sortActive");            treeCols[i].removeAttribute("sortDirection");         }         sortActive = true;         this.sortDirection = "ascending";      }      else      {         sortActive = true;         if (this.sortDirection == "" || this.sortDirection == "descending")         {            this.sortDirection = "ascending";         }         else         {            this.sortDirection = "descending";         }      }      element.setAttribute("sortActive", sortActive);      element.setAttribute("sortDirection", this.sortDirection);      this.sortStartedTime = new Date().getTime(); // for null dates during sort      gTaskArray.sort( compareTasks );      document.getElementById( ToDoUnifinderTreeName ).view = this;   },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4b1eafc9ab72c4035a17524d88d2546e755db2f0/unifinderToDo.js/buggy/calendar/resources/content/unifinderToDo.js