(function(e){e.fn.tile=function(t){var n,r,i,s,o,u,a,f=["height"],l=this.length-1;if(!t)t=this.length;u=document.body.style;a=u.removeProperty?u.removeProperty:u.removeAttribute;return this.each(function(){a.apply(this.style,f)}).each(function(u){s=u%t;if(s==0)n=[];r=n[s]=e(this);o=r.css("box-sizing")=="border-box"?r.outerHeight():r.innerHeight();if(s==0||o>i)i=o;if(u==l||s==t-1){e.each(n,function(){this.css("height",i)})}})}})(jQuery)