 client.subscribe(adminNotificationUrl, function(adminNotificationObject) {
			
						var parsedAdminNotificationBody = JSON.parse(adminNotificationObject.body);
						logNotificationReceiptToServer(uid, JSON.stringify(parsedAdminNotificationBody), baseUrl+'/logger/lognotificationreceipt');
						var notificationId;
						if(parsedAdminNotificationBody != "allNotificationsRead") {

							$.each(parsedAdminNotificationBody.newnotification, function(notificationIndex, responsenotification) {
								if(notif