$(function(){

	$("span.prod_image img").one('load', function(){
		$(this).css({'opacity':0,"display":"block"});
		var img_height = $(this).height();
		if (img_height < 200) {
			var img_margin = (200 - img_height) / 2;
			img_margin = Math.round(img_margin);
			$(this).css('margin-top', img_margin);
		}
		$(this).animate({"opacity":1});
	}).each( function(){
		if(this.complete) $(this).load();
	});
	
});
