﻿    // - prevent session timeout by calling a dummy script
    var tmnNoTimeout = setInterval('doNoTimeout()', 600000);
    function doNoTimeout(){
        var ajx = ajxobj(); ajx.open("GET", 'putter-prevent-session-timout.ashx', true);
        ajx.onreadystatechange = function() {if (ajx.readyState == 4 && ajx.status == 200) {var result = ajx.responseText;}} 
        ajx.send(null);}
    function ajxobj() {if (typeof XMLHttpRequest != 'undefined') {return new XMLHttpRequest();}try {return new ActiveXObject("Msxml2.XMLHTTP");}catch (e) {try {return new ActiveXObject("Microsoft.XMLHTTP");} catch (e) {}}return false;}
    // ----------------------------------------------------
