checkNotificationStatus : function() {  var time = qaPref.getPref(qaPref.prefBase+'.lastNotificationCheckTime', 'int'); var interval = qaPref.getPref(qaPref.prefBase+'.minNotificationCheckInterval', 'int'); if (time + interval > new Date().valueOf()) return;  var sth = this.db.createStatement("SELECT * FROM notifications"); var notifications = []; try { while (sth.executeStep()) { notifications.push(new Notification('json', MochiKit.Base.evalJSON( sth.getString(4)))); } } finally { sth.reset(); } 
checkNotificationStatus : function() {  var time = qaPref.getPref(qaPref.prefBase+'.lastNotificationCheckTime', 'int'); var interval = qaPref.getPref(qaPref.prefBase+'.minNotificationCheckInterval', 'int'); if (time + interval > new Date().valueOf()) return; 
   	checkNotificationStatus : function() { 	   		// see if we are elegible for notification:   		var time = qaPref.getPref(qaPref.prefBase+'.lastNotificationCheckTime', 'int');   		var interval = qaPref.getPref(qaPref.prefBase+'.minNotificationCheckInterval', 'int');   		if (time + interval > new Date().valueOf())   			return; // nothing to see here, try again later   		   		var sth = this.db.createStatement("SELECT * FROM notifications");   		var notifications = [];   		try {			while (sth.executeStep()) {				notifications.push(new Notification('json', MochiKit.Base.evalJSON(					sth.getString(4))));			}		} finally {   			sth.reset();   		}   		if (notifications[0] && notifications[0].okToShow() == true) {   			notifications[0].displayToBox();   			$('qa-notify').removeAttribute('hidden');   		}   		// reset the interval timer   		qaPref.setPref(qaPref.prefBase+'.lastNotificationCheckTime', new Date().valueOf(), 'int');   	},
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/a3a9a2c311afc9d76e4e6bfc036e5897fa988bc1/notifications.js/clean/testing/extensions/community/chrome/content/notifications.js