rem: var menuItem = document.getElementById("menu_getnextnmsg"); 
add: var menuItem = document.getElementById("menu_getnextnmsg"); 
context: function IsGetNextNMessagesEnabled(){	var selectedFolders = GetSelectedMsgFolders();    var numFolders = selectedFolders.length;    if(numFolders !=1)        return false;    var folder = selectedFolders[0];    if (!folder)        return false;       var server = folder.server;    var serverType = server.type;   	var menuItem = document.getElementById("menu_getnextnmsg");    if((serverType == "nntp")) {		var newsServer = server.QueryInterface(Components.interfaces.nsINntpIncomingServer);		var menuValue = Bundle.formatStringFromName("getNextNMessages",                                        [ newsServer.maxArticles], 1);		menuItem.setAttribute("value",menuValue);		menuItem.setAttribute("hidden","false");        return true;	}    else {		menuItem.setAttribute("hidden","true");		return false;	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/98f8dba7b96019d33eaa1162fb11dc98138a445f/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js