
// jQuery setEqualBlocksHeight 1.3
(function($){$.fn.setEqualBlocksHeight=function(c){var d={count:'all',allowPadding:true,checkingTime:1,delayBetweenChecking:1};var e=this;e.options=$.extend({},d,c);e.options.maxHeight=0;if(e.options.count=='all'||e.options.count>e.length)e.options.count=e.length;e.options.count=parseInt(e.options.count);function getBlocksHeight(a){return e.options.allowPadding?$(a).innerHeight():$(a).height()}if(e.options.count>1){var f=0;var g=setInterval(function(){if(f>=e.options.checkingTime)clearInterval(g);for(var i=1;i<=e.length;i+=e.options.count){var a=0;for(var j=0;j<=e.options.count-1;j++)if(e.get(i+j-1)){e.eq(i+j-1).css({height:'auto','min-height':0});a=Math.max(getBlocksHeight(e.eq(i+j-1)),a)}for(var j=0;j<=e.options.count-1;j++)if(e.get(i+j-1)){var b=e.options.allowPadding?parseInt(e.eq(i+j-1).css('padding-top'),10)+parseInt(e.eq(i+j-1).css('padding-bottom'),10):0;e.eq(i+j-1).css({'min-height':a-b});if($.browser.msie&&$.browser.version=='6.0')e.eq(i+j-1).height(a-b)}}f+=e.options.delayBetweenChecking},e.options.delayBetweenChecking)};if(e.options.count==1)e.css({height:'auto','min-height':0})}})(jQuery);


jQuery(document).ready(function(){
	if (jQuery.browser.msie && jQuery.browser.version < 7)
	{
		setTimeout(function(){
			var contentHeight = jQuery('div.content-i').outerHeight();
			jQuery('span.sh-tl, span.sh-tr').height(contentHeight);
			jQuery('span.sh-bl, span.sh-br').css({bottom: 0});
		}, 100)
	};
});

