rem: var unreadMenuItem = document.getElementById("viewUnreadMessagesMenuItem"); hidden = unreadMenuItem.getAttribute("hidden") == "true"; if(unreadMenuItem && !hidden) unreadMenuItem.setAttribute("checked", messageView.viewType == viewShowUnread); 
add: var unreadMenuItem = document.getElementById("viewUnreadMessagesMenuItem"); hidden = unreadMenuItem.getAttribute("hidden") == "true"; if(unreadMenuItem && !hidden) unreadMenuItem.setAttribute("checked", messageView.viewType == viewShowUnread); 
context: function InitViewMessagesMenu(){	var allMenuItem = document.getElementById("viewAllMessagesMenuItem");	var hidden = allMenuItem.getAttribute("hidden") == "true";	if(allMenuItem && !hidden)		allMenuItem.setAttribute("checked", messageView.viewType == viewShowAll);	var unreadMenuItem = document.getElementById("viewUnreadMessagesMenuItem");	hidden = unreadMenuItem.getAttribute("hidden") == "true";	if(unreadMenuItem && !hidden)		unreadMenuItem.setAttribute("checked", messageView.viewType == viewShowUnread);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/98f8dba7b96019d33eaa1162fb11dc98138a445f/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js