function ImageGrayscale() {
	if(!$.browser.msie){
		$(".thumbnail img").fadeIn(400);
		$('.thumbnail img').each(function(){
			var el = $(this);
			el.css({"position":"absolute"}).wrap("<div class='img_wrapper' style='display: inline-block'>").clone().addClass('img_grayscale').css({"position":"absolute","z-index":"998","opacity":"0"}).insertBefore(el).queue(function(){
				var el = $(this);
				el.parent().css({"width":this.width,"height":this.height});
				el.dequeue();
			});
			this.src = grayscale(this.src);
		});
		
		// Fade image 
		$('.thumbnail img').mouseover(function(){
			$(this).parent().find('img:first').stop().animate({opacity:1}, 400);
		})
		$('.img_grayscale').mouseout(function(){
			$(this).stop().animate({opacity:0}, 400);
		});	
	}
};
function ShowDetails() {
	$('li.announcement').width(226);
	$('li.announcement').hover(function() {
		$(this).toggleClass("hover");
		$(this).find(".an_big_c").toggleClass("hover");
		$(this).find(".an_wrapper").toggleClass("hover");
		child_width = $(this).find(".an_big_c").outerWidth(true);
		if (child_width > 226) {
			$(this).width(child_width);
		}
	}, function() {
		$(this).toggleClass("hover");
		$(this).find(".an_big_c").toggleClass("hover");
		$(this).find(".an_wrapper").toggleClass("hover");
		$(this).width(226);
	});
};
