$(document).ready(function() {
	var eheight = 0;
	var eheight_el = $('.equal-h');
	eheight_el.each(function(){
		var me_height = $(this).height();
		if(me_height>eheight) {
			eheight = me_height;
		}
	});
	eheight_el.height(eheight);
	
	$('.fx-img').each(function(){
			var me = $(this);
			var img = $('img',me);
			if(img.length>0) {
				me.css('background', 'url(' + img.attr('src') + ') no-repeat');
				me.css('display', 'block');
				//window.status = img.attr('src');

				var h = img.height();
				var w = img.width();
				if(h && w) {
				me.height(h);
				me.width(w);
				}
				img.hide();
			}
			
		});
});
