﻿// JavaScript Document
//var scroller = null;
//var scrollbar = null;

$(function(){
    //椤堕儴鑿滃崟
    /*2绾ф湇鍔″瓙椤圭洰*/
	
    $(".i_yewu_2ndpds ul li").hover(function(){
        $(this).siblings().children().find(".icools").css({
            color: "#505050",
            "font-weight": "100"
        });
		
		$(this).siblings().children(".i_yewu_arws").hide();

		$(".iyewu_2nd_bodys").hide()
		

        //$(".i_yewu_2nd").stop(true).show();
		
		$(this).siblings().children(".lissds").removeClass("lissd_hover");
		
		$(".lissds",this).addClass("lissd_hover");
        $("a .icools", this).css({
            color: "#87cc59",
            "font-weight": "700"
        });
		
		var ddddd = $(this).index();//鑾峰彇绱㈠紩
		
		var ddp = $(".iyewu_nd_bodys dl dd").length;
		
		var ddpc = ddp - 1;
		
		//鍒ゆ柇鏄惁闀垮害鏄惁鏄剧ず2绾?
		if( ddddd <= ddpc){
		
		$(".i_yewu_arws",this).show();
		
		i_yewu_2nd(ddddd);
		
		
		 
		 //alert(iyewu2nd_hcc)
		
		//alert()

		}
		

    }, function(){
    
    
    
    });
	
	function i_yewu_2nd(poi_2nd){
		
		$(".iyewu_2nd_bodys").show()
		
		$(".iyewu_nd_bodys dl dd").hide();
		
		$(".iyewu_nd_bodys dl dd").eq(poi_2nd).show();
		
		//鑳屾櫙妗嗛珮搴﹂€傚簲
		var iyewu2nd_h = $(".iyewu_nd_bodys dl dd").eq(poi_2nd).height();
		
		var iyewu2nd_hcc = iyewu2nd_h + 19
		
		 $(".i_yewu_2ndbgs").height(iyewu2nd_hcc);
		
		
	}
	
	
	 $(".i_yewu_closebtns").click(function(){
        $(".iyewu_2nd_bodys").hide();
        $(".lissds").removeClass("lissd_hover");
    });
	 
	
	$(".right_wpages").hover(function(){
       
    }, function(){

	$(".i_yewu_arws").hide();
	$(".lissds").removeClass("lissd_hover");
	$(".iyewu_2nd_bodys").hide();
	
    });
	

	
    
    //闅愯棌鎷栧姩鏉?
    $(".right_wpages").hover(function(){
    
   
        
    }, function(){
    
        $(".i_yewu_2ndpds ul li .i_yewu_2nds").stop(true).hide();
        $(".i_yewu_2ndpds ul li a .icools").css({
            color: "#505050",
            "font-weight": "100"
        });
    });
    
    
    //tab鍒囨崲
//    $('#change_6 div').soChange({
//        thumbObj: '#change_6 h3',
//        slideTime: 0,
//        thumbOverEvent: false,
//        autoChange: false//鑷姩鍒囨崲涓?false锛岄粯璁や负true
//    });
//    $('#change_7 div').soChange({
//        thumbObj: '#change_7 h3',
//        slideTime: 0,
//        thumbOverEvent: false,
//        autoChange: false//鑷姩鍒囨崲涓?false锛岄粯璁や负true
//    });
	//$(".i_fun_rightp2").show();
    //妯℃嫙婊氬姩鏉?
//    scroller = new jsScroller(document.getElementById("Scroller-1"), 275, 202);
//    scrollbar = new jsScrollbar(document.getElementById("Scrollbar-Container"), scroller, false);
//    
//    scroller = new jsScroller(document.getElementById("Scroller-2"), 275, 270);
//    scrollbar = new jsScrollbar(document.getElementById("Scrollbar-Container2"), scroller, false);
//	
//	 scroller = new jsScroller(document.getElementById("Scroller-3"), 190, 190);
//    scrollbar = new jsScrollbar(document.getElementById("Scrollbar-Container3"), scroller, false);
//	
//	scroller = new jsScroller(document.getElementById("Scroller-4"), 190, 190);
//    scrollbar = new jsScrollbar(document.getElementById("Scrollbar-Container4"), scroller, false);
//	
//    scroller = new jsScroller(document.getElementById("Scroller-5"), 190, 190);
//    scrollbar = new jsScrollbar(document.getElementById("Scrollbar-Container5"), scroller, false);
    
// 	$(".posid").hide();	
//	$(".posid_w").hide();
//	$(".posid_cw").hide();
//	
//	 $(".close_btn_network").click(function(){
//		$(this).hide();									
//		$(".posid").hide();
//    });
//	 
//	 $(".close_btn_network_w").click(function(){
//		$(this).hide();									
//        $(".posid_w,.posid_cw").hide();
//    });
});

//function s_info_hide_p(){

//$(".posid").hide();
//$(".posid_w").hide();

//}


//function posid_show(local){
//	
//	$(".posid_w,.posid_cw,.nt_p,.r_con_p").hide();
//	$(".posid,.close_btn_network").show();
//	$(".posid").css({
//            top: "61px"
//        });
//	var localp = "." + local
//	$(localp).show();
//}
//	

//function posid_wshow(){
//	$(".Scroller-4 .r_con_p").show();
//	$(".posid_w").show();
//	$(".posid_w").css({
//            top: "61px"
//        });
//	
//	$(".close_btn_network_w").show();
//	$(".posid,.posid_cw").hide();
//	}
////china worldmap_only

//function posid_cshow(){
//	$(".Scroller-5 .r_con_p").show();
//	$(".posid_cw").show();
//	$(".posid_cw").css({
//            top: "61px"
//        });
//	
//	$(".close_btn_network_w").show();
//	$(".posid,.posid_w").hide();
//}
