/** * jquery masonry v2.0.110524 * a dynamic layout plugin for jquery * the flip-side of css floats * http://masonry.desandro.com * * licensed under the mit license. * copyright 2011 david desandro */ (function(a,b,c){var d=b.event,e;d.special.smartresize={setup:function(){b(this).bind("resize",d.special.smartresize.handler)},teardown:function(){b(this).unbind("resize",d.special.smartresize.handler)},handler:function(a,b){var c=this,d=arguments;a.type="smartresize",e&&cleartimeout(e),e=settimeout(function(){jquery.event.handle.apply(c,d)},b==="execasap"?0:100)}},b.fn.smartresize=function(a){return a?this.bind("smartresize",a):this.trigger("smartresize",["execasap"])},b.mason=function(a,c){this.element=b(c),this._create(a),this._init()};var f=["position","height"];b.mason.settings={isresizable:!0,isanimated:!1,animationoptions:{queue:!1,duration:500},gutterwidth:0,isrtl:!1,isfitwidth:!1},b.mason.prototype={_filterfindbricks:function(a){var b=this.options.itemselector;return b?a.filter(b).add(a.find(b)):a},_getbricks:function(a){var b=this._filterfindbricks(a).css({position:"absolute"}).addclass("masonry-brick");return b},_create:function(c){this.options=b.extend(!0,{},b.mason.settings,c),this.stylequeue=[],this.reloaditems();var d=this.element[0].style;this.originalstyle={};for(var e=0,g=f.length;e