﻿



$(document).ready(function() {
//    $("td.ThumbImageCell").fadeOut(1);
//    $("td.ThumbImageCell").css("visibility", "visible");

//    $("img.OnDisplay").css("visibility", "visible");
//    $("img.OnDisplay").load(function() {
//            $(this).parent().parent().parent().parent().parent().parent().fadeIn(500);
//    //        $(this).fadeIn(500);
//        });
    setTimeout("AsyncLoadLatestNews()", 100);
});



function AsyncLoadLatestNews() {
    $.ajax({
        url: "latestsitenews.ashx",
        success: function(html) 
        {
            $("#SiteUpdateInfo").fadeOut(200, function() 
            {
                $("#SiteUpdateInfo").html(html);
                $("#SiteUpdateInfo").fadeIn(200);

            });
        },
        error: function(XMLHttpRequest, textStatus, errorThrown) { 
            window.alert(errorThrown.toString());
        } 
    
    });
}