function newsScroll(item){
  $(item).each(function(){
    this.style.overflow = 'hidden';
    this.style.height = '250px';
    this.style.position = 'relative';
    
    $(this).children('div').each(function(){
      this.style.position = 'absolute';
      var t = this;
      var th = t.offsetHeight;
      $(this).fadeOut(1000, function(){
        animateNewsScroll(t, th);
      });
    })
  })
}

function animateNewsScroll(item, height){
  item.style.top = '250px';
  $(item).show();
  var t = item;
  var h = height;
  $(t).animate({
    top: '-'+h+'px'
  }, (h+300)*60, 'linear', function() {
    animateNewsScroll(t, h);
  });
}

