var KalydoBank={currency:"KEC",totalBalance:"loading",lastUpdate:"",lowBalance:20,insufficientFunds:0,paymentFooter:false,showPaymentFooter:false,refreshInterval:60000,payPerMinute:10,currencyData:{},convert:function(a){return a},setConversion:function(b,a){this.payPerMinute=b;this.currencyData=a},refresh:function(){this.setBalance()},setBalance:function(){this.lastUpdate=new Date()},checkFooter:function(){if(KalydoBank.totalBalance<=KalydoBank.lowBalance||KalydoBank.showPaymentFooter){if(!KalydoBank.paymentFooter){this.paymentFooter=true}}},updateBalance:function(){jQuery(".KEC").html(KalydoBank.totalBalance);jQuery("#ecoin_balance").html(KalydoBank.convert(KalydoBank.totalBalance)+" eCoins")}};
