add:  var moveMenu = document.getElementById("moveMenu"); if(moveMenu) moveMenu.setAttribute("disabled", !aMessage);  var copyMenu = document.getElementById("copyMenu"); if(copyMenu) copyMenu.setAttribute("disabled", !aMessage);  
context: function InitMessageMenu(){	var messages = GetSelectedMessages();	var numMessages = messages.length;	var isNews = false;	if(numMessages > 0)	{		isNews = GetMessageType(messages[0]) == "news";	}	//We show reply to Newsgroups only for news messages.	var replyNewsgroupMenuItem = document.getElementById("replyNewsgroupMainMenu");	if(replyNewsgroupMenuItem)		replyNewsgroupMenuItem.setAttribute("hidden", isNews ? "" : "true");	//For mail messages we say reply. For news we say ReplyToSender.	var replyMenuItem = document.getElementById("replyMainMenu");	if(replyMenuItem)	{		replyMenuItem.setAttribute("hidden", !isNews ? "" : "true");	}	var replySenderMenuItem = document.getElementById("replySenderMainMenu");	if(replySenderMenuItem)	{		replySenderMenuItem.setAttribute("hidden", isNews ? "" : "true");	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d63000ffb06f1c74b5d3215477135715d57355d7/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js