var total_blog_screens = 0; //do not change this. it will be calculated automatically
var blogClassName = 'blogBumpList';
$(document).ready(function() {

    $("." + blogClassName).attr("id", function(arr) {
        total_blog_screens++;
        return "blogFade" + (arr + 1);
    })
    if (total_blog_screens > 1) {
        blogFadeEngine(0);
    }
});

function blogFadeEngine(x) {
    var y = x;
    if (x == total_blog_screens) y = 1; else y++;
    $("#blogFade" + x).css("display", "none");
    $("#blogFade" + y).fadeIn("slow");
    setTimeout('blogFadeEngine(' + y + ')', 6000);
}