$(function(){
	/*主大图切换*/
	$(".mbanner .focus").sudyfocus({      
		p:2,
		zWidth:1920,
		zHeight:817,
		title:{
			isAutoWidth: false,
			active:true
		},
		 text:{
			 active: false,
			 isAutoHeight: false,
			 href: false
		},
		response: true,
		speed:700, 
		pagination: true,
		navigation: true,
		isNavHover: true,
		href:true,
		effect: 'fade'
	});
	/*新闻图片切换*/
	$(".post-11 .focus").sudyfocus({      
		p:11,      
		zWidth:362,      
		zHeight:253,  
		title:{        
			isAutoWidth: false,
			active:true      
		},  
		 text: {        
			 active: false,
			 isAutoHeight: false,   
			 href: false 
		},  
		response: true,     
		speed:700, 
		pagination: true,
		navigation: true,
		isNavHover: false,
		href:true,
		effect: 'fade'
	});
	/*友情链接下拉*/
	$(".botlinks").each(function(index, el){
		$(el).find(".links-wrap").hover(function(){
			$(this).addClass('wrap-open').children('.link-items').stop(true,true).slideDown(300);
		},function(){
			$(this).removeClass('wrap-open').children('.link-items').stop(true,true).slideUp(100);
		});
	});
      //slick左右轮播
	$('.post-14 .news_list').slick({
			dots: false,  //指示点
			infinite: true,  //循环播放
			autoplay: true,  //自动播放
			autoplaySpeed: 5000, //自动播放间隔
			arrows: true,  //左右箭头
			useCSS: true,  //使用 CSS3 过度
			speed: 600,  //滑动时间
			slide: 'li',  //滑动元素查询
			slidesToShow: 3,  //幻灯片每屏显示个数
			slidesToScroll: 1,  //幻灯片每次滑动个数
		
	});
$('.post-15 .news_list').slick({
			dots: false,  //指示点
			infinite: true,  //循环播放
			autoplay: true,  //自动播放
			autoplaySpeed: 5000, //自动播放间隔
			arrows: true,  //左右箭头
			useCSS: true,  //使用 CSS3 过度
			speed: 600,  //滑动时间
			slide: 'li',  //滑动元素查询
			slidesToShow: 3,  //幻灯片每屏显示个数
			slidesToScroll: 1,  //幻灯片每次滑动个数
		
	});
$('.post-16 .news_list').slick({
			dots: false,  //指示点
			infinite: false,  //循环播放
			autoplay: false,  //自动播放
			autoplaySpeed: 5000, //自动播放间隔
			arrows: false,  //左右箭头
			useCSS: true,  //使用 CSS3 过度
			speed: 600,  //滑动时间
			slide: 'li',  //滑动元素查询
			slidesToShow: 3,  //幻灯片每屏显示个数
			slidesToScroll: 1,  //幻灯片每次滑动个数
		
	});


$(".post-14 .news_list").hover(function(){
    $(".post-14 .slick-prev").css("width","50px");
 $(".post-14 .slick-next").css("width","50px");

},function(){
     $(".post-14 .slick-prev").css("width","0");
 $(".post-14 .slick-next").css("width","0");
});

});

