/* 
 * AFX Ajax TS3
 */

//global vars  
var tslocation = $("#ts_viewer");  


function updateTS(){  
    //just for the fade effect  
    tslocation.fadeOut();  
    //send the post to afxts3.php  
    $.ajax({  
        type: "POST", url: "ts3/afxts3.php", data: "action=update",  
        complete: function(data){  
            tslocation.html(data.responseText);  
            tslocation.fadeIn(2000);  
        }  
    });

    //t=setTimeout('updateTS()',600000);
}

//load for the first time the shoutbox data 
$(function() {
    updateTS();
});



    

