function rotate_testimonials(){

	var first = 0;
	var speed = 1200;
	var pause = 9000;
	
		function removeFirst(){
			first = jQuery('ul#testimlist li:first').html();
			jQuery('ul#testimlist li:first')
			.animate({opacity: 0}, speed)
			.fadeOut('slow', function() {jQuery(this).remove();});
			addLast(first);
		}
		
		function addLast(first){
			last = '<li style="display:none">'+first+'</li>';
			jQuery('ul#testimlist').append(last)
			jQuery('ul#testimlist li:last')
			.animate({opacity: 1}, speed)
			.fadeIn('slow')
		}
	
	interval = setInterval(removeFirst, pause);
}

jQuery(document).ready(function(){
	rotate_testimonials();
	jQuery(".post_item").bind({
		  mouseenter: function(){
			  jQuery('> .post_over', this).slideDown();
		  },
		  mouseleave: function(){
			  jQuery('> .post_over', this).slideUp();
		  }
	  	});
});
