function restartLoginTimer() { //var logOutMins = 1000*60*; //In case config necessary var logOutMins = 1000*60*60; setTimeout('doLogOutRedirect()', logOutMins); } function doLogOutRedirect() { window.location = '/insight2_pt/logout.do?jsTimeout=true'; }