var TimeOutTest = Class.create ({
    
    initialize: function() {
    },

    inSession: function() {
        var url  = '/includes/inc_timeouttest.php';
        var ajax = new Ajax.Request(url, {
            onSuccess: function(tx) {
                //alert (tx.responseText); 
                obj = tx.responseText.evalJSON();
                if ($H(obj).get('log_user_id') == undefined) {
                    window.location = 'fellows.php';
                }
                //alert('DEBUG ' + $H(obj).get('log_user_id'));
            }
        });
    }
});

document.observe("dom:loaded", function() {
    var ttt = new TimeOutTest();
});
