(function(a){a.fn.randomdisplay=function(m){var e=a.extend({deploy:1,placeall:!1,btnElem:null,heightAdjust:!1},m),f=a(this),g=[],l,h={init:function(){g=a.makeArray(f.children());try{if(1!=e.placeall){if(1>e.deploy)throw Error("The deploy value is specified as 0 or a negative number. The deploy value must be positive. The specified deployment value is '"+e.deploy+"'.");l=e.deploy>g.length?g.length:e.deploy}else l=g.length;this.setEvent();return this}catch(b){return window.console.error(b),!1}},deal:function(){var b= g.concat(),c=[],d;for(d=0;d