var move_items = 100;
var news_height = 0;
$(document).ready(function(){
news_height = $('.news-holder .news-items').height();
news_height = parseInt(1.5 * news_height);
var news_items ='.news-holder .news-items';
$(news_items).clone().css('bottom',(news_height * -1)).appendTo($(news_items).parent());
move_news_item($(news_items));


});
function is_visible(){
var offset = $(this).position();
$(this).attr('offset',offset.top);
if(offset.top > (news_height*-1)){
move_news_item($(this));
}else{
var new_div = $(this).clone().appendTo($(this).parent()).css('bottom',(news_height*-1) + 'px');
$(this).remove();
move_news_item(new_div);
}

}
function move_news_item(jq){
jq.animate({
"bottom": "+=" + move_items + "px"
},5000,'linear',is_visible
);
}
