add: SetTemplateTreeItemOpen(false); 
context: function ChangeThreadView(){   var folder = GetSelectedFolder();	var threadColumn = document.getElementById('ThreadColumnHeader');	if(threadColumn)	{		var currentView = threadColumn.getAttribute('currentView');		if(currentView== 'threaded')		{			ShowThreads(false);			if(folder)				folder.setAttribute('threaded', "");		}		else if(currentView == 'unthreaded')		{			ShowThreads(true);			if(folder)				folder.setAttribute('threaded', "true");		}		RefreshThreadTreeView();	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d5696d5addb95615f67ac72f6eb85cfe7ddaf3d6/threadPane.js/buggy/mailnews/base/resources/content/threadPane.js