var tic = 0,
    d_top = 5000,
    tc = 0;



$(function () {
    tc = $('#new_news .cache div').length;
    var c_top=setTimeout('changeTop()',d_top);


});

function changeTop () {
    var o_n = tic;
    tic++;
    if (tic == tc) {
    	tic = 0;
    }
    $('#new_news .img').removeClass('img'+o_n).addClass('img'+tic);
/*    $('#new_news .img').animate({opacity: 0}, function() {
        $(this).removeClass('img'+o_n).addClass('img'+tic).animate({opacity: 1});
    });*/

    c_top=setTimeout('changeTop ()',d_top);
}
