rem: dump("xxx todo:  make sure this is a subscribable server\n"); 
context: function SubscribeOnLoad(){	//dump("SubscribeOnLoad()\n");	  gSubscribeTree = document.getElementById('subscribetree');	gStatusBar = document.getElementById('statusbar-icon');	gNameField = document.getElementById('namefield');	doSetOKCancel(subscribeOK,subscribeCancel);	// look in arguments[0] for parameters	if (window.arguments && window.arguments[0]) {		if ( window.arguments[0].title ) {			top.window.title = window.arguments[0].title;		}				if ( window.arguments[0].okCallback ) {			top.okCallback = window.arguments[0].okCallback;		}	}		if (window.arguments[0].preselectedURI) {		var uri = window.arguments[0].preselectedURI;		//dump("subscribe: got a uri," + uri + "\n");		folder = GetMsgFolderFromUri(uri);		dump("xxx todo:  make sure this is a subscribable server\n");		//dump("folder="+folder+"\n");		//dump("folder.server="+folder.server+"\n");		gServerURI = folder.server.serverURI;		//dump("gServerURI="+gServerURI+"\n");	}	else {		dump("subscribe: no uri\n");		dump("xxx todo:  use the default news server\n");		var serverMenu = document.getElementById("serverMenu");		var menuitems = serverMenu.getElementsByTagName("menuitem");		gServerURI = menuitems[1].id;	}	SetUpServerMenu();	SetUpTree(false);    gNameField.focus();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/397c363d610aee422dbd03b13f24efeedabe002b/subscribe.js/clean/mailnews/base/resources/content/subscribe.js