$(window).bind("scroll", function(){ //导航反向效果
	var top = $(this).scrollTop(); //当前窗口的滚动距离
	if (top >= 100){
		$("#header100 .logo img").attr("src","images/logo2.png");
		$("#header100").css("background","url(images/white1.png)");
		$("#header100 .menu ul li a").css("color","#000");
		$("#header100 .menu ul li ul li a").css("color","#333");
		$("#header100 .tel").css("color","#f91b46");
	}else{
		$("#header100 .logo img").attr("src","images/logo.png");
		$("#header100").css("background","url(images/xian1.png) bottom repeat-x");
		$("#header100 .menu ul li a").css("color","#fff");
		$("#header100 .menu ul li ul li a").css("color","#333");
		$("#header100 .tel").css("color","#fff");
	}
	
});

$(function(){//作品案例
    $(".icase ul li").hover(function(){
        $(this).find(".mask").fadeToggle();
    })
})

$(function(){//活动策划
    $(".icehua ul li").hover(function(){
        $(this).find(".mask2").fadeToggle();
    })
})

$(function(){//公司动态
    $(".jCarouselLite-01 ul li a").hover(function(){
        $(this).find(".n2").css("color","#fff");
    })
})

$(function(){//公司动态
    $(".jCarouselLite-01 ul li").hover(function(){
        $(this).find(".n2").css("color","#fff");
		$(this).find(".r_con").css("color","#fec6bd");
    })
    $(".jCarouselLite-01 ul li").mouseleave(function(){
        $(this).find(".n2").css("color","#919191");
		$(this).find(".r_con").css("color","#919191");
    })
})


$(function(){

$(".picScroll ul li").hover(function(){//图片滚动
	$(this).find(".video_play").css("opacity","1");
	$(this).find(".video_play").css("-webkit-transform","scale(1)");
	$(this).find(".video_play").css("transform","scale(1)");
	$(this).find(".video_play").css("-ms-transform","scale(1)");
	$(this).find(".zhezhao").css("opacity","1");
	
})
$(".picScroll ul li").mouseleave(function(){//图片滚动
	$(this).find(".video_play").css("opacity","0");
	$(this).find(".video_play").css("-webkit-transform","scale(2)");
	$(this).find(".video_play").css("transform","scale(2)");
	$(this).find(".video_play").css("-ms-transform","scale(2)");
	$(this).find(".zhezhao").css("opacity","0");
})

$(".icase ul li").hover(function(){//作品案例
	$(this).find(".video_play").css("opacity","1");
	$(this).find(".video_play").css("-webkit-transform","scale(1)");
	$(this).find(".video_play").css("transform","scale(1)");
	$(this).find(".video_play").css("-ms-transform","scale(1)");
	$(this).find(".zhezhao").css("opacity","1");
	
})
$(".icase ul li").mouseleave(function(){//作品案例
	$(this).find(".video_play").css("opacity","0");
	$(this).find(".video_play").css("-webkit-transform","scale(2)");
	$(this).find(".video_play").css("transform","scale(2)");
	$(this).find(".video_play").css("-ms-transform","scale(2)");
	$(this).find(".zhezhao").css("opacity","0");
})

$(".icehua ul li").hover(function(){//活动策划
	$(this).find(".video_play").css("opacity","1");
	$(this).find(".video_play").css("-webkit-transform","scale(1)");
	$(this).find(".video_play").css("transform","scale(1)");
	$(this).find(".video_play").css("-ms-transform","scale(1)");
	$(this).find(".zhezhao").css("opacity","1");
	
})
$(".icehua ul li").mouseleave(function(){//活动策划
	$(this).find(".video_play").css("opacity","0");
	$(this).find(".video_play").css("-webkit-transform","scale(2)");
	$(this).find(".video_play").css("transform","scale(2)");
	$(this).find(".video_play").css("-ms-transform","scale(2)");
	$(this).find(".zhezhao").css("opacity","0");
})

$('.video_play2').find('img').mouseenter(function(){
	$(this).attr('src','images/video2.png')
});
$('.video_play2').find('img').mouseout(function(){
	$(this).attr('src','images/video.png')
});

})