//give each column in the row a class of row1
$(document).ready(function(){
    	$(function(){
    	    $('.row1').equalHeight();
   	});
    });


// make sure the $ is pointing to JQuery and not some other library

(function($){
// add a new method to JQuery
$.fn.equalHeight = function() {
// find the tallest height in the collection
// that was passed in (.column)
tallest = 0;
this.each(function(){
thisHeight = $(this).height();
if( thisHeight > tallest)
tallest = thisHeight;
});

// set each items height to use the tallest value found
this.each(function(){
$(this).height(tallest);
});
}
})(jQuery);

// RSS  
$(document).ready(function(){
	
	var first = 10000;
	var speed = 1000;
	var pause = 10000;
	
		function removeFirst(){
			first = $('ul#rssScroll li:first').html();
			$('ul#rssScroll li:first')
			.animate({opacity: 0}, speed)
			.fadeOut('slow', function() {$(this).remove();});
			addLast(first);
		}
		
		function addLast(first){
			last = '<li style="display:none">'+first+'</li>';
			$('ul#rssScroll').append(last)
			$('ul#rssScroll li:last')
			.animate({opacity: 1}, speed)
			.fadeIn('slow')
		}
	
	interval = setInterval(removeFirst, pause);
});