jQuery(window).on("load",function(){td_resize_smartlist_sliders_and_update()});jQuery().ready(function(){td_resize_smartlist_sliders_and_update()});function td_resize_smartlist_slides(a){var b=a.currentSlideNumber;a=jQuery(a.data.obj[0]).attr("id");tdDetect.isIe8||(jQuery("#"+a).css("overflow","none"),jQuery("#"+a+" .td-item").css("overflow","visible"));b=jQuery("#"+a+"_item_"+b).outerHeight(!0);jQuery("#"+a+", #"+a+" .td-slider").css({height:b})}
function td_resize_smartlist_sliders_and_update(){jQuery(document).find(".td-smart-list-slider").each(function(){var a=jQuery(this).attr("id");tdDetect.isIe8||(jQuery("#"+a).css("overflow","none"),jQuery("#"+a+" .td-item").css("overflow","visible"));var b=0;b=jQuery("#"+a+"_item_"+td_history.get_current_page("slide")).outerHeight(!0);jQuery("#"+a+", #"+a+" .td-slider").css({height:b});tdDetect.isAndroid&&setTimeout(function(){jQuery("#"+a).iosSlider("update")},2E3)})}
function td_resize_normal_slide(a){a=jQuery(a.data.obj[0]).attr("id");var b=td_get_document_width();tdDetect.isIe8||(jQuery("#"+a).css("overflow","none"),jQuery("#"+a+" .td-item").css("overflow","visible"));var c=jQuery("#"+a+"_item_0").outerWidth(!0),d=780;tdDetect.isAndroid&&(d=1E3);b<d&&!tdDetect.isIpad&&(b=300<c?.5*c:c,jQuery("#"+a+", #"+a+" .td-slider, #"+a+" .td-slider .td-module-thumb").css({height:b}))}
function td_resize_normal_slide_and_update(a){var b=jQuery(a.data.obj[0]).attr("id");a=td_get_document_width();tdDetect.isIe8||(jQuery("#"+b).css("overflow","none"),jQuery("#"+b+" .td-item").css("overflow","visible"));var c=0;c=jQuery("#"+b+"_item_0").outerWidth(!0);var d=780;tdDetect.isAndroid&&(d=1E3);a<d&&!tdDetect.isIpad&&(c=300<c?.5*c:c,jQuery("#"+b+", #"+b+" .td-slider, #"+b+" .td-slider .td-module-thumb").css({height:c}),setTimeout(function(){jQuery("#"+b).iosSlider("update")},2E3))};
