document.write('
');(function($){Array.prototype.min=function(){return Math.min.apply({},this)};Array.prototype.max=function(){return Math.max.apply({},this)};$.fn.masonry=function(){this.each(function(){var wall=$(this);if(wall.children().length>0){if(wall.children('.masonryWrap').length==0){wall.wrapInner('');}var mWrap=wall.children('.masonryWrap');var brick=mWrap.children();var brickW=brick.outerWidth(true);var colCount=Math.floor(mWrap.width()/brickW);var colH=new Array();for(i=0;i