if (typeof akla_vars == "undefined") { var akla_vars = new Array(); } akla_vars['D2mXGro'] = 'classic'; akla_vars['D2mXGro_widget_id'] = 'D2mXGro'; akla_vars['D2mXGro_empty_post_table'] = '
article img-play_icon-

-title-

-price_holder--star_holder-

-title-

'; akla_vars['D2mXGro_popout_overlay_text_left'] = '-30'; akla_vars['D2mXGro_positionTop'] = '20'; akla_vars['D2mXGro_positionLeft'] = '20'; akla_vars['D2mXGro_marginTop'] = '60'; akla_vars['D2mXGro_marginLeft'] = '60'; akla_vars['D2mXGro_popout_img_width'] = '210'; akla_vars['D2mXGro_popout_img_height'] = '210'; akla_vars['D2mXGro_img_width'] = '150'; akla_vars['D2mXGro_img_height'] = '150'; akla_vars['D2mXGro_popout'] = 1; akla_vars['D2mXGro_text_color'] = '000000'; akla_vars['D2mXGro_text_hover_color'] = '000000'; akla_vars['D2mXGro_text_hover_decoration'] = 'underline'; akla_vars['D2mXGro_text_background_hover_color'] = 'transparent'; akla_vars['D2mXGro_font_weight'] = 'normal'; akla_vars['D2mXGro_max_text_length'] = '40'; akla_vars['D2mXGro_image_border_color'] = ''; akla_vars['D2mXGro_image_border_color_hover'] = ''; akla_vars['D2mXGro_play_button'] = ''; akla_vars['D2mXGro_main_table_style'] = 'border-collapse: collapse; border-spacing: 0; background-color: #transparent; margin: 0; border: 0;'; akla_vars['D2mXGro_rows'] = '6'; akla_vars['D2mXGro_columns'] = '1'; akla_vars['D2mXGro_main_table_td_style'] = 'padding: 0; border: 0; background-color: inherit; width: 100px;vertical-align: top !important;'; akla_vars['D2mXGro_horizontal_padding'] = '10'; akla_vars['D2mXGro_vertical_padding'] = '10'; akla_vars['D2mXGro_post_list'] = '121545~^~Chocolate~^~https://cdn.aklamator.com/images/cache/989/121545.jpeg~^~1247~^~0~^~f~^~0~^~Chocolate~^~https://blog.aklamator.com/~^~$5.00~^~$3.99~^~5/ 121549~^~Cookie~^~https://cdn.aklamator.com/images/cache/989/121549.jpeg~^~1247~^~0~^~f~^~0~^~Cookie~^~https://blog.aklamator.com/~^~$5.30~^~$4.99~^~4.5/ 121546~^~Strawberry~^~https://cdn.aklamator.com/images/cache/989/121546.jpeg~^~1247~^~0~^~f~^~0~^~Strawberry~^~https://blog.aklamator.com/~^~$6.00~^~~^~5/ 121547~^~Cup of coffee~^~https://cdn.aklamator.com/images/cache/989/121547.jpeg~^~1247~^~0~^~f~^~0~^~Cup of coffee~^~https://blog.aklamator.com/~^~$4.00~^~~^~4.2/ 121548~^~Nanny sweet~^~https://cdn.aklamator.com/images/cache/989/121548.jpeg~^~1247~^~0~^~f~^~0~^~Nanny sweet~^~https://blog.aklamator.com/~^~$3.50~^~$3.30~^~4/ 121550~^~Cake~^~https://cdn.aklamator.com/images/cache/989/121550.jpeg~^~1247~^~0~^~f~^~0~^~Cake~^~https://blog.aklamator.com/~^~$2.33~^~$1.99~^~3.5/ '; akla_vars['D2mXGro_ie_activated'] = 0; akla_vars['D2mXGro_responsive'] = '1'; if(akla_vars['D2mXGro_responsive'] == 2){ akla_vars['D2mXGro_viewport_div_style'] = 'padding: 0; margin: 0 auto; padding-top: 0px; padding-left: 0px; width: 100%; height: auto; position: relative;';} else { akla_vars['D2mXGro_viewport_div_style'] = 'padding: 0; margin: 0 auto; padding-top: 0px; padding-bottom: 15px; padding-left: 0px; width:150px; height: auto; position: relative;'; } akla_vars['D2mXGro_desription_shortening'] = 45; akla_vars['D2mXGro_empty_price_holder'] = '

-price-

'; akla_vars['D2mXGro_empty_star_holder'] = '
'; akla_vars['D2mXGro_empty_ad_button_holder'] = ''; akla_vars['D2mXGro_empty_info_button_holder'] = ''; akla_vars['D2mXGro_empty_close_button_holder'] = ''; akla_vars['D2mXGro_serve_by_aklamator'] = ''; akla_vars['hiddenno_D2mXGro'] = 0; var productData_D2mXGro = JSON.parse('{"121545":{"price":"$5.00","discount":"$3.99","avg_score":"5"},"121549":{"price":"$5.30","discount":"$4.99","avg_score":"4.5"},"121546":{"price":"$6.00","discount":null,"avg_score":"5"},"121547":{"price":"$4.00","discount":null,"avg_score":"4.2"},"121548":{"price":"$3.50","discount":"$3.30","avg_score":"4"},"121550":{"price":"$2.33","discount":"$1.99","avg_score":"3.5"}}'); function activate_D2mXGro() { if (akla_vars['D2mXGro_format'] == "popunder") { aklajq("#aklaD2mXGro").parent().css({backgroundColor: '#transparent'}); aklajq("#aklaD2mXGro").parent().parent().css({backgroundColor: '#transparent'}); } //Insert style for ribbon or avg_score only if we need to dispaly prive or avg_score if(typeof productData_D2mXGro !== 'undefined' && !aklajq.isEmptyObject(productData_D2mXGro)) { var vb_ava;var vb_style=".ribbon,.star-rating{overflow:hidden;position:absolute}.star-rating{font-size:0;white-space:nowrap;display:inline-block;width:100px;left:50%;top:90%;transform:translate(-50%,-50%);bottom:20%;height:26px;background:url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjREREREREIiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=) repeat-x;background-size:20px 20px}.star-rating star{opacity:1;position:absolute;left:0;top:0;height:100px;width:100px;z-index:1;background:url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBzdHJva2U9InJlZCIgZmlsbD0iI0ZGREY4OCIgcG9pbnRzPSIxMCwwIDEzLjA5LDYuNTgzIDIwLDcuNjM5IDE1LDEyLjc2NCAxNi4xOCwyMCAxMCwxNi41ODMgMy44MiwyMCA1LDEyLjc2NCAwLDcuNjM5IDYuOTEsNi41ODMgIi8+PC9zdmc+) repeat-x;background-size:20px 20px}.ribbon{top:5%;left:0;width:100%;text-align:center;font-size:20px!important;background:#d64b4b;background:-webkit-gradient(linear,left top,left bottom,from(#d64b4b),to(#ab2c2c));background:-webkit-linear-gradient(top,#d64b4b,#ab2c2c);background:-moz-linear-gradient(top,#d64b4b,#ab2c2c);background:-ms-linear-gradient(top,#d64b4b,#ab2c2c);background:-o-linear-gradient(top,#d64b4b,#ab2c2c);background-image:-ms-linear-gradient(top,#d64b4b 0,#ab2c2c 100%);-webkit-box-shadow:rgba(000,000,000,.3) 0 1px 1px;-moz-box-shadow:rgba(000,000,000,.3) 0 1px 1px;box-shadow:rgba(000,000,000,.3) 0 1px 1px;font-family:Arial,Helvetica,sans-serif;opacity:.87}.ribbon h1{line-height: 18px !important;font-size:16px!important;color:#fff;text-shadow:#d65c5c 0 1px 0;margin:0;padding:5px}.ribbon h1 del{font-size:14px!important}.ribbon:before{left:-2em;border-right-width:1.5em;border-left-color:transparent;-webkit-box-shadow:rgba(000,000,000,.4) 1px 1px 1px;-moz-box-shadow:rgba(000,000,000,.4) 1px 1px 1px;box-shadow:rgba(000,000,000,.4) 1px 1px 1px}.ribbon .ribbon-content:after,.ribbon .ribbon-content:before{border-color:#871616 transparent transparent;position:absolute;display:block;border-style:solid;bottom:-8px;content:'';z-index:-1;opacity:.87}.ribbon .ribbon-content:before{left:0;border-width:8px 0 0 8px}.ribbon .ribbon-content:after{right:0;border-width:8px 8px 0 0}.ribbon-stitches-top{margin-top:2px;border-top:1px dashed rgba(0,0,0,.2);-moz-box-shadow:0 0 2px rgba(0,0,0,.5);-webkit-box-shadow:0 0 2px rgba(0,0,0,.5);box-shadow:0 0 2px rgba(255,255,255,.5)}.ribbon-stitches-bottom{margin-bottom:2px;border-top:1px dashed rgba(0,0,0,.2);-moz-box-shadow:0 0 2px rgba(0,0,0,.3);-webkit-box-shadow:0 0 2px rgba(0,0,0,.3);box-shadow:0 0 2px rgba(255,255,255,.3)}";vb_ava=document.createElement('style');vb_ava.type='text/css';if (navigator.appName == 'Microsoft Internet Explorer'){vb_ava.styleSheet.cssText=vb_style;}else{vb_ava.innerHTML=vb_style;}var headID = document.getElementsByTagName("head")[0];headID.appendChild(vb_ava); } if(akla_vars['D2mXGro_responsive'] == 1){ //Insert style for responsive widget var vb_ava;var vb_style=".popup-text-D2mXGro{position:absolute;display:none;z-index:999;color:#fff;background:#000;bottom:25px}.columns-D2mXGro,.img-item-D2mXGro{background:0 0;position:relative}.columns-D2mXGro{font-family:'Open Sans',sans-serif;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:center;-ms-flex-pack:justify;justify-content:center;width:100%;z-index:9999}.img-item-D2mXGro{width:33.33%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 5px;margin-bottom:10px;}.main_img-D2mXGro{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%;height:100%;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;padding:0}.image-D2mXGro:hover{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3);z-index:10;-webkit-box-shadow:0 0 25px 0 rgba(50,50,50,.75);-moz-box-shadow:0 0 25px 0 rgba(50,50,50,.75);box-shadow:0 0 25px 0 rgba(50,50,50,.75);opacity:1;-webkit-transition:all .1s ease-in-out;-moz-transition:all .1s ease-in-out;-o-transition:all .1s ease-in-out;-ms-transition:all .1s ease-in-out}.image-D2mXGro{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;position:relative;padding-top:100%;margin-bottom:5px}.overlaytext-D2mXGro{bottom:0;position:absolute;width:100%;opacity:.8;color:#fff;display:none;background-color:#000; z-index:2}.overlaytext-D2mXGro p{margin:0;padding:5px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#fff;margin:5px;font-size:8px;text-align:center;font-family:Arial,Helvetica,sans-serif;line-height:12px}p.outsidetext-D2mXGro{margin:5px}";vb_ava=document.createElement('style');vb_ava.type='text/css';if (navigator.appName == 'Microsoft Internet Explorer'){vb_ava.styleSheet.cssText=vb_style;}else{vb_ava.innerHTML=vb_style;}var headID = document.getElementsByTagName("head")[0];headID.appendChild(vb_ava); aklajq('#aklaD2mXGro').html(render_table_res('D2mXGro', productData_D2mXGro, false)); apply_border_style_hover_res('D2mXGro'); apply_text_style_res('D2mXGro'); apply_text_style_hover_res('D2mXGro'); setImgItem('D2mXGro'); aklajq(window).resize(function(){ setImgItem('D2mXGro'); }); setImgItem('D2mXGro'); activate_popout_res('D2mXGro'); } else if (akla_vars['D2mXGro_responsive'] == 2){ //Insert style for responsive2 widget var vb_ava;var vb_style=".popup-text-D2mXGro{position:absolute;display:none;z-index:999;color:#fff;background:#000;bottom:25px}.columns-D2mXGro,.img-item-D2mXGro{background:0 0;position:relative}.columns-D2mXGro{font-family:'Open Sans',sans-serif;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:center;-ms-flex-pack:justify;justify-content:center;width:100%;z-index:9999}.img-item-D2mXGro{width:33.33%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 5px;margin-bottom:10px;}.main_img-D2mXGro{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%;height:100%;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;padding:0}.image-D2mXGro:hover{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3);z-index:10;-webkit-box-shadow:0 0 25px 0 rgba(50,50,50,.75);-moz-box-shadow:0 0 25px 0 rgba(50,50,50,.75);box-shadow:0 0 25px 0 rgba(50,50,50,.75);opacity:1;-webkit-transition:all .1s ease-in-out;-moz-transition:all .1s ease-in-out;-o-transition:all .1s ease-in-out;-ms-transition:all .1s ease-in-out}.image-D2mXGro{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;position:relative;padding-top:100%;margin-bottom:5px}.overlaytext-D2mXGro{bottom:0;position:absolute;width:100%;opacity:.8;color:#fff;display:none;background-color:#000; z-index:2}.overlaytext-D2mXGro p{margin:0;padding:5px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#fff;margin:5px;font-size:8px;text-align:center;font-family:Arial,Helvetica,sans-serif;line-height:12px}p.outsidetext-D2mXGro{margin:5px}";vb_ava=document.createElement('style');vb_ava.type='text/css';if (navigator.appName == 'Microsoft Internet Explorer'){vb_ava.styleSheet.cssText=vb_style;}else{vb_ava.innerHTML=vb_style;}var headID = document.getElementsByTagName("head")[0];headID.appendChild(vb_ava); aklajq('#aklaD2mXGro').html((typeof render_table_resType2 === "function")?render_table_resType2('D2mXGro', productData_D2mXGro, false):render_table_res('D2mXGro', productData_D2mXGro, false)); if (typeof apply_border_style_hover_resType2 === "function"){ apply_border_style_hover_resType2('D2mXGro'); } else{ apply_border_style_hover_res('D2mXGro'); } if (typeof apply_text_style_resType2 === "function"){ apply_text_style_resType2('D2mXGro'); } else{ apply_text_style_res('D2mXGro'); } if (typeof apply_text_style_hover_resType2 === "function"){ apply_text_style_hover_resType2('D2mXGro'); } else { apply_text_style_hover_res('D2mXGro'); } if (typeof setImgItemType2 === "function"){ setImgItemType2('D2mXGro'); } else{ setImgItem('D2mXGro'); } aklajq(window).resize(function(){ if (typeof setImgItemType2 === "function"){ setImgItemType2('D2mXGro'); } else{ setImgItem('D2mXGro'); } }); if (typeof setImgItemType2 === "function"){ setImgItemType2('D2mXGro'); } else{ setImgItem('D2mXGro'); } if (typeof activate_popout_resType2 === "function"){ activate_popout_resType2('D2mXGro'); } else{ activate_popout_res('D2mXGro'); } } else{ // For Non responsive widget aklajq('#aklaD2mXGro').html(render_table('D2mXGro', productData_D2mXGro , false)); apply_border_style_hover('D2mXGro'); apply_text_style('D2mXGro'); apply_text_style_hover('D2mXGro'); activate_popout('D2mXGro'); } aklajq('#aklaD2mXGro' + " #tableD2mXGro").fadeIn(); } // if(typeof aklajq == 'undefined' || window.aklajq == 'undefined'){ var script = document.createElement('script'); script.type = 'text/javascript'; script.onload = activate_D2mXGro; script.onreadystatechange = function () { if (akla_vars['D2mXGro_ie_activated'] == 0 && (this.readyState == 'complete' || this.readyState == 'loaded')) { akla_vars['D2mXGro_ie_activated'] = 1; activate_D2mXGro(); } } script.async = true; if(akla_vars['D2mXGro_responsive'] == 2){ script.src = 'https://cdn.aklamator.com/js/widget_responsive3_new.js'; } else if(akla_vars['D2mXGro_responsive'] == 1) { script.src = 'https://cdn.aklamator.com/js/widget_responsive3.js'; }else{ script.src = 'https://cdn.aklamator.com/js/widget3.js';} document.getElementsByTagName('head')[0].appendChild(script); // }else{ // activate_D2mXGro(); // }