rem: if (DefaultIncomingServer.hostName == "Local Folders") 
add: emailStringBundle = srGetStrBundle("chrome: var LocalFolders = emailStringBundle.GetStringFromName( "localFolders" ); if (DefaultIncomingServer.hostName == LocalFolders) 
context: function hasDefaultAccount(){	try	{		var AccountManagerComponent = Components.classes["@mozilla.org/messenger/account-manager;1"];		var AccountManagerService = AccountManagerComponent.getService();		var AccountManager = AccountManagerService.QueryInterface(Components.interfaces.nsIMsgAccountManager);		var DefaultAccount = AccountManager.defaultAccount;		var DefaultIncomingServer = DefaultAccount.incomingServer;		if (DefaultIncomingServer.hostName == "Local Folders")		{			return(false);		}		else		{			return(true);		}	}	catch(ex)	{		return(false);	}}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/ff76771674fea8fcfd96e41c4b9b27202d939922/calendarMail.js/clean/calendar/resources/content/calendarMail.js