jQuery(function($){if($('.product-360').length){var pic_X=$('.product-360').offset().left;var pic_Y=$('.product-360').offset().top;var pic_W=$('.product-360').width();var pic_H=$('.product-360').height();var center_X=pic_X+pic_W;var center_Y=pic_Y+pic_H;var movestop=pic_W/20;if($('.product-360 li').length>1){$('.product-360 li').hide();$('.product-360 li:nth-of-type(12)').show();$('.product-360').mousemove(function(event){var mouse_X=event.pageX;var mouse_Y=event.pageY;if(mouse_X-center_X<=0){moveImg(mouse_X,mouse_Y,'left')}else{moveImg(mouse_X,mouse_Y)}});function moveImg(m_X,m_Y,dir){var index=Math.ceil(Math.abs(m_X-center_X)/movestop);if(dir){$('.product-360 li').eq(index).show().siblings().hide()}else{$('.product-360 li').eq(18-index).show().siblings().hide()}}}}
if($('.slider-fw-items').length){$('.slider-fw-items').slick({infinite:!1,prevArrow:'<i class="icon-left"></i>',nextArrow:'<i class="icon-right"></i>',dots:!0,});$('.slider-fw-items').each(function(){var lngEl=$(this).find('.slick-dots li').length;$(this).find('.slick-dots').attr('data-lng',lngEl)})}
if($('.slider-mini').length){$('.slider-mini').slick({dots:!0,infinite:!0,speed:500,fade:!0,cssEase:'linear',})}
if($('.slider').length){$('.slider .items').slick({slidesToShow:1,slidesToScroll:1,arrows:!1,fade:!0,draggable:!1,asNavFor:'.slider-nav',infinite:!1,});$('.slider-nav').slick({slidesToShow:7,slidesToScroll:1,asNavFor:'.slider .items',dots:!1,prevArrow:'',nextArrow:'',infinite:!1,focusOnSelect:!0})}})