rem: var threadTree = document.getElementById("threadTree"); 
add:  if (threadPaneUIVersion < 3) { var subjectCol = document.getElementById("subjectCol"); 
context: function UpgradeThreadPaneUI(){  var labelCol;  var threadPaneUIVersion;  try {    threadPaneUIVersion = pref.getIntPref("mailnews.ui.threadpane.version");    if (threadPaneUIVersion < 3) {      var subjectCol = document.getElementById("subjectCol");      var junkCol = document.getElementById("junkStatusCol");      var threadTree = document.getElementById("threadTree");            var beforeCol = subjectCol.boxObject.nextSibling.boxObject.nextSibling;      if (beforeCol)        threadTree._reorderColumn(junkCol, beforeCol, true);      else // subjectCol was the last column, put it after        threadTree._reorderColumn(junkCol, subjectCol, false);      if (threadPaneUIVersion == 1) {        labelCol = document.getElementById("labelCol");        labelCol.setAttribute("hidden", "true");      }      pref.setIntPref("mailnews.ui.threadpane.version", 3);    }    	}  catch (ex) {    dump("UpgradeThreadPane: ex = " + ex + "\n");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/58cabdef2ba73bcf97e0c5d12ff141a4a0ee70ce/msgMail3PaneWindow.js/buggy/mailnews/base/resources/content/msgMail3PaneWindow.js