go to chat/lib/template directory and edit file loggedOut.html like this function initializeLoginPage() { document.getElementById('userNameField').focus(); if(!ajaxChat.isCookieEnabled()) { var node = document.createElement('div'); var text = document.createTextNode(ajaxChatLang['errorCookiesRequired']); node.appendChild(text); document.getElementById('errorContainer').appendChild(node); } setTimeout(function(){calltimer(20);},'1000'); } function calltimer(seconds){ if(seconds>0){ var s=''; if(seconds>1) s='s'; document.getElementById('timer').innerHTML='Autologin in '+seconds+'sec'+s; setTimeout(function(){calltimer(seconds-1);},'1000'); }else document.location.href="?login"; } .... .... .... add timer where you want in the page