$(document).ready(function() {
			 	$('.flicker-example').flicker({
			      auto_flick:false
			    });
			    $('#tcon1').click(function(){
					$('#perspective').removeClass('animate').removeClass('modalview');
					$('#perspective .wrapper').css('top','10px');
					var address = 'http://fms.news.cn/swf/2016_sjxw/6_29_2016_wrj/mob/index.html#con1';
					setTimeout(function(){
						window.location.href = address;
					},500);
				});
				$('#tcon2').click(function(){
					$('#perspective').removeClass('animate').removeClass('modalview');
					$('#perspective .wrapper').css('top','10px');
					var address1 = 'http://fms.news.cn/swf/2016_sjxw/6_29_2016_wrj/mob/index.html#con2';
					setTimeout(function(){
						window.location.href = address1;
					},500);
				});
				$('#tcon3').click(function(){
					$('#perspective').removeClass('animate').removeClass('modalview');
					$('#perspective .wrapper').css('top','10px');
					var address2 = 'http://fms.news.cn/swf/2016_sjxw/6_29_2016_wrj/mob/index.html#con3';
					setTimeout(function(){
						window.location.href = address2;
					},500);
				});
				$('#tcon4').click(function(){
					$('#perspective').removeClass('animate').removeClass('modalview');
					$('#perspective .wrapper').css('top','10px');
					var address3 = 'http://fms.news.cn/swf/2016_sjxw/6_29_2016_wrj/mob/index.html#con4';
					setTimeout(function(){
						window.location.href = address3;
					},500);
				});
				$('#tcon5').click(function(){
					$('#perspective').removeClass('animate').removeClass('modalview');
					$('#perspective .wrapper').css('top','10px');
					var address4 = 'http://fms.news.cn/swf/2016_sjxw/6_29_2016_wrj/mob/index.html#con5';
					setTimeout(function(){
						window.location.href = address4;
					},500);
				});
				$('#tcon6').click(function(){
					$('#perspective').removeClass('animate').removeClass('modalview');
					$('#perspective .wrapper').css('top','10px');
					var address5 = 'http://fms.news.cn/swf/2016_sjxw/6_29_2016_wrj/mob/index.html#con6';
					setTimeout(function(){
						window.location.href = address5;
					},500);
				});
				$('#tcon7').click(function(){
					$('#perspective').removeClass('animate').removeClass('modalview');
					$('#perspective .wrapper').css('top','10px');
					var address6 = 'http://fms.news.cn/swf/2016_sjxw/6_29_2016_wrj/mob/index.html#con7';
					setTimeout(function(){
						window.location.href = address6;
					},500);
				});
				$('#tcon8').click(function(){
					$('#perspective').removeClass('animate').removeClass('modalview');
					$('#perspective .wrapper').css('top','10px');
					var address7 = 'http://fms.news.cn/swf/2016_sjxw/6_29_2016_wrj/mob/index.html#con8';
					setTimeout(function(){
						window.location.href = address7;
					},500);
				});
				$('#tcon9').click(function(){
					$('#perspective').removeClass('animate').removeClass('modalview');
					$('#perspective .wrapper').css('top','10px');
					var address8 = 'http://fms.news.cn/swf/2016_sjxw/6_29_2016_wrj/mob/index.html#con9';
					setTimeout(function(){
						window.location.href = address8;
					},500);
				});
				$(".voice_2 ul li").each(function(){
			        var fold = $(this).find(".fold");
			        var unfold = $(this).find(".unfold");
			        if(fold.is(":hidden")){
			            $(this).width(190);
			        }else{
			            $(this).width(33);
			        }
			    });
			    $(".voice_2 ul li").click(function(){
			        var li_index = $(this).index();
			        $(this).animate({width:190},365);
			        $(this).find(".unfold").show();
			        $(this).find(".fold").hide();
			        $(this).siblings().animate({width:33},365);
			        $(this).siblings().find(".unfold").hide();
			        $(this).siblings().find(".fold").show();
			    });



			    var vsrc1 = '<iframe id="iframe1" class="iframe" src="http://vod.xinhuanet.com/v/vod.html?vid=550732" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';

			    var vsrc2 = '<iframe id="iframe2" class="iframe" src="http://vod.xinhuanet.com/v/vod.html?vid=378808" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';

			    var vsrc3 = '<iframe id="iframe3" class="iframe" src="http://vod.xinhuanet.com/v/vod.html?vid=378803" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';

			    var vsrc4 = '<iframe id="iframe4" class="iframe" src="http://vod.xinhuanet.com/v/vod.html?vid=378806" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';


			    var vsrc5 = '<iframe id="iframe5" class="iframe" src="http://vod.xinhuanet.com/v/vod.html?vid=378805" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';

			    var vsrc6 = '<iframe id="iframe6" class="iframe" src="http://vod.xinhuanet.com/v/vod.html?vid=378809" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';

			    var vsrc7 = '<iframe id="iframe7" class="iframe" src="http://vod.xinhuanet.com/v/vod.html?vid=378807" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';

			    var vsrc8 = '<iframe id="iframe8" class="iframe" src="http://vod.xinhuanet.com/v/vod.html?vid=378808" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';

			    var vsrc9 = '<iframe id="iframe9" class="iframe" src="http://vod.xinhuanet.com/v/vod.html?vid=378804" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';

			   
			    var vsrc10 = '<iframe id="iframe10" class="iframe" src="http://vod.xinhuanet.com/v/vod.html?vid=378836" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';

			    var vsrc11 = '<iframe id="iframe11" class="iframe" src="http://uav.news.cn/video/20160707/3257870_v.html" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';
			    
			    var vsrc12 = '<iframe id="iframe12" class="iframe" src="http://vod.xinhuanet.com/v/vod.html?vid=378837" width="100%" height="260" scrolling="no" frameborder="0"></iframe>';
			    $("#vid1").click(function(){
			        $(this).html(vsrc1);
			    });

			    $("#vid2").click(function(){
			        $(this).html(vsrc2);
			    });
			    $("#vid3").click(function(){
			        $(this).html(vsrc3);
			    });
			    $("#vid4").click(function(){
			        $(this).html(vsrc4);
			    });
			    $("#vid5").click(function(){
			        $(this).html(vsrc5);
			    });
			    $("#vid6").click(function(){
			        $(this).html(vsrc6);
			    });
			    $("#vid7").click(function(){
			        $(this).html(vsrc7);
			    });
			    $("#vid8").click(function(){
			        $(this).html(vsrc8);
			    });
			    $("#vid9").click(function(){
			        $(this).html(vsrc9);
			    });
			    $("#vid10").click(function(){
			        $(this).html(vsrc10);
			    });

			    $("#vid11").click(function(){
			        $(this).html(vsrc11);
			    });

			    $("#vid12").click(function(){
			        $(this).html(vsrc12);
			    });


			    $('#con1 .con1_lb .arrow-navigation').click(function(){
			      $("#vid9").html('<img src="images/con1_lb1.jpg">');
			      $("#vid10").html('<img src="images/con1_lb2.jpg">');
			      $("#vid12").html('<img src="images/con1_lb3.jpg">');
			      $("#vid11").html('<img src="images/con1_lb4.jpg">');
			    });
			    $('#con3 .con3_lb .arrow-navigation').click(function(){
			      $("#vid3").html('<img src="images/con3_lb1.jpg">');
			      $("#vid9").html('<img src="images/con3_lb3.jpg">');
			      $("#vid10").html('<img src="images/con3_lb4.jpg">');
			      $("#vid11").html('<img src="images/con3_lb5.jpg">');
			    });
			    $('#con6 .con6_lb .arrow-navigation').click(function(){
			      $("#vid4").html('<img src="images/con4_lb1.jpg">');
			    });
			    $('#con4 .con4_lb .arrow-navigation').click(function(){
			      $("#vid5").html('<img src="images/con5_lb1.jpg">');
			      $("#vid6").html('<img src="images/con5_lb2.jpg">');
			      $("#vid7").html('<img src="images/con5_lb3.jpg">');
			    });
			    $('#con5 .con5_lb .arrow-navigation').click(function(){
			      $("#vid8").html('<img src="images/con6_lb1.jpg">');
			      $("#vid12").html('<img src="images/con6_lb5.jpg">');
			    });

			 })