jQuery(function(){
	if(jQuery("#news li").length > 1){
		jQuery("#news li:last").addClass("last");
	}
	jQuery(".demo-thumb a.thumb img").mouseenter(function(){
		jQuery(this).parent().siblings('div').animate({opacity: "show"}, 250);
	});
	jQuery(".demo-thumb div").mouseleave(function(){
		jQuery(this).animate({opacity: "hide"}, 250);
	});
});