jQuery(document).ready(function(){

    maxWidth = 240;
    minWidth = 120;	
	
	jQuery("#m-featuredblocks li").hover(
	function () {
		jQuery(this).stop().animate({width: maxWidth+"px"}, { queue:false, duration:400});
		jQuery(this).find('.featured-image').animate({'opacity': 1}, 500);		
	},
	function () {
		jQuery(this).find('.featured-image').stop().animate({'opacity': 0.8}, 200);
		jQuery(this).stop().animate({width: minWidth+"px"}, { queue:false, duration:1000});
	});
	
	jQuery("#m-featuredblocks li").stop().animate({width: minWidth+"px"}, { queue:false, duration:600});
	
});
