MQ connection again.
		 */
		function checkifConnected() {
		    if(!navigator.onLine) {
		    	connected = false;
		    } else {
		        // Only if the user has lost connection and got back the 
		        // internet connection, we call the get_currency_information method.
		        if(connected == false) {
		            client.unsubscribe(id);
		            client.unsubscribe(broadcastid);
		            if(typeof(uid) == "undefined") {
		                var uid = uid;
		            }
		            logRe