Vertical cycle slideshow
I found your code a little hard on the eyes because of the lack of formatting.


function anime(){
ob.each(function(i,item){$(item).animate({"top":"+="+nex+"px"},spd,   


  "linear",function(){if ($(item).position().top == jleng*nex)
{$(item).css('top',-1*nex*(i+1))}});})
setTimeout(anime, 0);
}



Here is what it looks like with good formatting

function anime(){
    ob.each(function(i,item){
        $(item).animate( 
            {"top":"+="+nex+"px"},
            spd,
            "linear",
            function(){
                if ($(item).position().top == jleng*nex) {
                    $(item).css('top',-1*nex*(i+1))
                }
            }
        );
    })
    setTimeout(anime, 0);
}