jQuery(function ($) {
    $(document).ready(function () {      
     
     
      $('#rsslist li').equalHeight();
      
      
    });
});

//Equal heights
(function ($) {
    $.fn.equalHeight = function () {
        var maxHeight = 0;

        this.each(function () {
            if ($(this).height() > maxHeight) {
                maxHeight = $(this).height();
            }
        });

        if (maxHeight > 0)
            $(this).css({ 'min-height': maxHeight });
    }
})(jQuery);

function onBefore() {   
  var currli = $('#slidingThumbs li:visible:first');
  
  if($(currli).html() != "")
    $('#slidingThumbs ul').last().append('<li>' + $(currli).html() + '</li>');
  
  $(currli).animate({
    opacity: 0,
    'margin-left': '-=205'
  }, 2000, function() {
    $(currli).remove();
  });
} 
function onAfter() { 

}

