cationCount = 0;
		var userNotificationCount = 0;
		var connected = false;


		//checkifConnected();
		function logNotificationReceiptToServer(userID, notificationBody, logAcknowledgeURL) {
		    $.ajax({
		    	type: 'GET',
		       	url: logAcknowledgeURL,
		       	dataType: "json",
		       	async: true,
		       	cache: false,
		       	data: {
		            uid: uid,
		            notificationbody: notificationBody
		       	}
		    }).done(function() {
		        // Nothing to be done here.          
