text: var UIIdleTimeout=function(){return{init:function(){var a;$("body").append("");$.idleTimeout("#idle-timeout-dialog",".modal-content button:last",{idleAfter:5,timeout:30000,pollingInterval:5,keepAliveURL:"../demo/idletimeout_keepalive.php",serverResponseEquals:"OK",onTimeout:function(){window.location="?p=page_user_lock_1"},onIdle:function(){$("#idle-timeout-dialog").modal("show");a=$("#idle-timeout-counter");$("#idle-timeout-dialog-keepalive").on("click",function(){$("#idle-timeout-dialog").modal("hide")});$("#idle-timeout-dialog-logout").on("click",function(){$("#idle-timeout-dialog").modal("hide");$.idleTimeout.options.onTimeout.call(this)})},onCountdown:function(b){a.html(b)}})}}}();jQuery(document).ready(function(){UIIdleTimeout.init()});