 function SessionManagement(strTimeout){ 
    var int_MilliSecondsTimeOut = (strTimeout * 60000) - 30000;
    var int_MilliSecondsTimeOut1 = (strTimeout * 60000);
    
    //window.setInterval('SessionExpires()', int_MilliSecondsTimeOut);
    window.setInterval('RedirectToLogin()',int_MilliSecondsTimeOut1);
 
 }
 
 
 function SessionExpires(){
    alert('Your session will expire in 30 seconds, please refresh the page if you wish to stay logged on');
 }
 function RedirectToLogin(){
     window.location = '/login.asp?ExpiredSession=True';
 }
 
 