var prefs = qaNotifications.getNotificationSettings(); if (prefs[0] == '1') return false; if (this.type == 'testday' && ! prefs[1] == '0') return true; if (this.type == 'bugday' && ! prefs[2] == '0') return true; if (this.type == 'prerelease' && ! prefs[3] == '0') return true; if (this.type == 'news' && ! prefs[4] == '0') return true; if (this.type == 'newbuilds' && ! prefs[5] == '0') return true; if (this.type == 'special' && ! prefs[6] == '0') return true;   return false; }, 
var prefs = qaNotifications.getNotificationSettings(); if (prefs[0] == '1') return false; if (this.type == 'testday' && ! prefs[1] == '0') return true; if (this.type == 'bugday' && ! prefs[2] == '0') return true; if (this.type == 'prerelease' && ! prefs[3] == '0') return true; if (this.type == 'news' && ! prefs[4] == '0') return true; if (this.type == 'newbuilds' && ! prefs[5] == '0') return true; if (this.type == 'special' && ! prefs[6] == '0') return true;   return false; } 
	okToShow : function() {		var prefs = qaNotifications.getNotificationSettings();		if (prefs[0] == '1') // all notifications disabled			return false;		if (this.type == 'testday' && ! prefs[1] == '0')			return true;		if (this.type == 'bugday' && ! prefs[2] == '0')			return true;		if (this.type == 'prerelease' && ! prefs[3] == '0')			return true;		if (this.type == 'news' && ! prefs[4] == '0')			return true;		if (this.type == 'newbuilds' && ! prefs[5] == '0')			return true;		if (this.type == 'special' && ! prefs[6] == '0')			return true;				// catch all:		return false;	},
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/a3a9a2c311afc9d76e4e6bfc036e5897fa988bc1/notifications.js/clean/testing/extensions/community/chrome/content/notifications.js