add:  var accountManager = Components.classes["component: server = accountManager.getIncomingServer(serverid); nntpServer = server.QueryInterface(Components.interfaces.nsINntpIncomingServer); 
context: function OnLoad(){	doSetOKCancel(OkButtonCallback, null);	if (window.arguments && window.arguments[0]) {		var args = window.arguments[0].split(",");		// args will be of the form <number>,<newsgroup name>,<serverid>		newmessages = args[0];		newsgroupname = args[1];		serverid = args[2];		dump("new message count = " + newmessages + "\n");		dump("newsgroup name = " + newsgroupname + "\n");		dump("serverid = " + serverid + "\n");		var downloadHeadersTitlePrefix = Bundle.GetStringFromName("downloadHeadersTitlePrefix");		var downloadHeadersInfoText1 = Bundle.GetStringFromName("downloadHeadersInfoText1");		var downloadHeadersInfoText2 = Bundle.GetStringFromName("downloadHeadersInfoText2");		// doesn't JS have a printf?		window.title = downloadHeadersTitlePrefix + " " + newsgroupname;		var infotext = downloadHeadersInfoText1 + " " + newmessages + " " + downloadHeadersInfoText2;		setDivText('info',infotext);	}	numberElement = document.getElementById("number");	numberElement.value = nntpServer.maxArticles;	markreadElement = document.getElementById("markread");	markreadElement.checked = nntpServer.markOldRead;	return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/464dcb3188bacc51302a48b113251c483e71aef0/downloadheaders.js/buggy/mailnews/news/resources/content/downloadheaders.js