function height_handler(){$(window).width()>767?$(".maxheight").equalHeights():$(".maxheight").css({height:"auto"}),$(window).width()>767?$(".maxheight1").equalHeights():$(".maxheight1").css({height:"auto"}),$(window).width()>767?$(".maxheight2").equalHeights():$(".maxheight2").css({height:"auto"})}$(function(){$(".maxheight").each(function(){$(this).contents().wrapAll("
")}),$(".maxheight1").each(function(){$(this).contents().wrapAll("")}),$(".maxheight2").each(function(){$(this).contents().wrapAll("")})}),$(window).bind("resize",height_handler).bind("load",height_handler),function(t){t.fn.equalHeights=function(i,h){return tallest=i?i:0,this.each(function(){t(">.box_inner",this).outerHeight()>tallest&&(tallest=t(">.box_inner",this).outerHeight())}),h&&tallest>h&&(tallest=h),this.each(function(){t(this).height(tallest)})}}(jQuery);