rem: if(viewSortMenu) 
add: if (viewSortMenu) 
context: function HideMenus(){	var message_menuitem=document.getElementById('menu_showMessage');	if(message_menuitem)		message_menuitem.setAttribute("hidden", "true");	var showSearchToolbar = document.getElementById('menu_showSearchToolbar');	if(showSearchToolbar)		showSearchToolbar.setAttribute("hidden", "true");	var showSearch_showMessage_Separator = document.getElementById('menu_showSearch_showMessage_Separator');	if(showSearch_showMessage_Separator)		showSearch_showMessage_Separator.setAttribute("hidden", "true");	var expandOrCollapseMenu = document.getElementById('menu_expandOrCollapse');	if(expandOrCollapseMenu)		expandOrCollapseMenu.setAttribute("hidden", "true");	var renameFolderMenu = document.getElementById('menu_renameFolder');	if(renameFolderMenu)		renameFolderMenu.setAttribute("hidden", "true");	var viewMessagesMenu = document.getElementById('viewMessagesMenu');	if(viewMessagesMenu)		viewMessagesMenu.setAttribute("hidden", "true");	var openMessageMenu = document.getElementById('openMessageWindowMenuitem');	if(openMessageMenu)		openMessageMenu.setAttribute("hidden", "true");	var viewSortMenu = document.getElementById('viewSortMenu');	if(viewSortMenu)		viewSortMenu.setAttribute("hidden", "true");	var viewThreadedMenu = document.getElementById('menu_showThreads');	if(viewThreadedMenu)		viewThreadedMenu.setAttribute("hidden", "true");	var emptryTrashMenu = document.getElementById('menu_emptyTrash');	if(emptryTrashMenu)		emptryTrashMenu.setAttribute("hidden", "true");	var menuProperties = document.getElementById('menu_properties');	if(menuProperties)		menuProperties.setAttribute("hidden", "true");	var compactFolderMenu = document.getElementById('menu_compactFolder');	if(compactFolderMenu)		compactFolderMenu.setAttribute("hidden", "true");	var trashSeparator = document.getElementById('trashMenuSeparator');	if(trashSeparator)		trashSeparator.setAttribute("hidden", "true");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/3ead8e230bcd0f7a2698ae71d076d3073a8cc53b/messageWindow.js/clean/mailnews/base/resources/content/messageWindow.js