function refresh(t){setTimeout(function(){window.location.reload()},t)}String.prototype.format=function(){for(var t=this,r=0;r<arguments.length;r++){var n="{"+r+"}";t=t.replace(n,arguments[r])}return t};