BEST SELLERS

0) jQuery.each(responsiveEntries, function(index,obj) { var curw = obj.width != undefined ? obj.width : 0, cura = obj.amount != undefined ? obj.amount : 0; if (smallest>curw) { smallest = curw; samount = cura; resultidb = index; } if (largestlastbottom && curwwinw) { lastamount = samount; resultid = resultidb; } var obj = new Object; obj.index = resultid; obj.column = lastamount; if (resultoption==”id”) return obj; else return lastamount; } if (“masonry”==”even”) { var coh=0, container = jQuery(“#esg-grid-5-1”); var cwidth = container.width(), ar = “4:3″, gbfc = eggbfc(jQuery(window).width(),”id”), row = 1; ar = ar.split(“:”); aratio=parseInt(ar[0],0) / parseInt(ar[1],0); coh = cwidth / aratio; coh = coh/gbfc.column*row; var ul = container.find(“ul”).first(); ul.css({display:”block”,height:coh+”px”}); } var essapi_5; jQuery(document).ready(function() { essapi_5 = jQuery(“#esg-grid-5-1″).tpessential({ gridID:5, layout:”masonry”, forceFullWidth:”off”, lazyLoad:”off”, row:1, loadMoreAjaxToken:”eca5d4495a”, loadMoreAjaxUrl:”https://canna4supplements.com/wp-admin/admin-ajax.php”, loadMoreAjaxAction:”Essential_Grid_Front_request_ajax”, ajaxContentTarget:”ess-grid-ajax-container-“, ajaxScrollToOffset:”0″, ajaxCloseButton:”off”, ajaxContentSliding:”on”, ajaxScrollToOnLoad:”on”, ajaxNavButton:”off”, ajaxCloseType:”type1″, ajaxCloseInner:”false”, ajaxCloseStyle:”light”, ajaxClosePosition:”tr”, space:30, pageAnimation:”fade”, paginationScrollToTop:”off”, spinner:”spinner0″, lightBoxMode:”single”, animSpeed:1000, delayBasic:1, mainhoverdelay:1, filterType:”single”, showDropFilter:”hover”, filterGroupClass:”esg-fgc-5″, googleFonts:[‘Open+Sans:300,400,600,700,800′,’Raleway:100,200,300,400,500,600,700,800,900′,’Droid+Serif:400,700′], responsiveEntries: [ { width:1400,amount:4,mmheight:0}, { width:1170,amount:4,mmheight:0}, { width:1024,amount:4,mmheight:0}, { width:960,amount:3,mmheight:0}, { width:778,amount:3,mmheight:0}, { width:640,amount:2,mmheight:0}, { width:480,amount:1,mmheight:0} ] }); try{ jQuery(“#esg-grid-5-1 .esgbox”).esgbox({ padding : [0,0,0,0], width:800, height:600, minWidth:100, minHeight:100, maxWidth:9999, maxHeight:9999, autoPlay:false, playSpeed:3000, preload:3, beforeLoad:function() { }, afterLoad:function() { if (this.element.hasClass(“esgboxhtml5″)) { this.type =”html5”; var mp = this.element.data(“mp4”), ogv = this.element.data(“ogv”), webm = this.element.data(“webm”); ratio = this.element.data(“ratio”); ratio = ratio===”16:9″ ? “56.25%” : “75%” this.content =’]]>’; }; }, beforeShow : function () { this.title = jQuery(this.element).attr(‘lgtitle’); if (this.title) { this.title=””; this.title = ‘

‘+this.title+’

‘; } }, afterShow : function() { }, openEffect : ‘fade’, closeEffect : ‘fade’, nextEffect : ‘fade’, prevEffect : ‘fade’, openSpeed : ‘normal’, closeSpeed : ‘normal’, nextSpeed : ‘normal’, prevSpeed : ‘normal’, helpers:{overlay:{locked:false}}, helpers : { media : {}, overlay: { locked: false }, title : { type:”” } } }); } catch (e) {} });

Source