$(function() { var $w =$(window).width(); var e = window,a = 'inner'; if (!('innerWidth' in window )) { a = 'client'; e = document.documentElement || document.body; } var w = e[ a+'Width']; $(".slick_bar").slick({autoplay:!0,fade:!0,dots:!0,arrows:0,pauseOnDotsHover:!0,pauseOnFocus:false,pauseOnHover:false }); $(".tab_wrap").slide({titCell:".tit a"}) $(".slick_news").slick({autoplay:true,arrows:false,dots:true,pauseOnDotsHover:true,pauseOnFocus:false,pauseOnHover:false, customPaging: function(slider, i) { return i+1; } }); })