rem:   if(messageView.viewType == viewShowUnread) return;  
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', "false");			SetTemplateTreeItemOpen(false);		}		else if(currentView == 'unthreaded')		{  			//if we're in unread messages view, don't allow to go into threaded mode because  			//we don't support it.  			if(messageView.viewType == viewShowUnread)  				return; 			ShowThreads(true);			if(folder)				folder.setAttribute('threaded', "true");		}		RefreshThreadTreeView();	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/66ca0c7f601c7b0a7827633ed780e1ae66f048e2/threadPane.js/clean/mailnews/base/resources/content/threadPane.js