
$(document).ready(function() {
	$('#sidebar div:lt(6)').each(function(e){
		var h = $(this).height();
		$(this).height(35);
		
		
		var config = {    
		     sensitivity: 3, // number = sensitivity threshold (must be 1 or higher)    
		     interval: 200, // number = milliseconds for onMouseOver polling interval    
		     over: function() {
				$(this).animate({
					'height': h
				});
			}, // function = onMouseOver callback (REQUIRED)    
		     timeout: 500, // number = milliseconds delay before onMouseOut    
		     out: function() {
				$(this).animate({
					'height': 35
				});
			} // function = onMouseOut callback (REQUIRED)    
		};
		
		
		$(this).hoverIntent(config);
		
	});
	
	$('.moretext').hide();
	
	$('a.more').click(function(e){
		e.preventDefault();
		
		var id = $(this).attr('id').substr(2);

		$('html,body').animate({ scrollTop: $(this).offset().top }, 1000)	
		$("#"+id).toggle(1000);
		
	})	
});




