// JavaScript Document
function lxjy(a,b,c,d){
	document.getElementById("lxjy_"+b).className="b";
	document.getElementById("lxjy_"+c).className="b";
	document.getElementById("lxjy_"+d).className="b";
	document.getElementById("lxjy_"+a).className="a";
}
//
//   $(function() {
//        $(".Att li a").mouseover(function(e) {
//				//alert(e.ComID);
//				//	alert("a")
//			if (e.target == this) {
//                var tabs = $(this).parent().children("li");
////                var panels = $(this).parent().parent().children("div");
//                var index = $.inArray(this, tabs);
//				alert(index);
////                if (panels.eq(index)[0]) {
////                    tabs.removeClass("ui-tabs-selected")
////                        .eq(index).addClass("ui-tabs-selected");
////                    panels.addClass("ui-tabs-hide")
////                        .eq(index).removeClass("ui-tabs-hide");
////                }
//			}
//       });
//    });
function ShowComInfo(obj,ComID){
	$("#txtComInfo p").load("GetData.asp?action=ProNavInfo&ProID="+ComID);
}

function ShowProInfo(obj,ProID){
	$("#txtProInfo p").load("GetData.asp?action=ProNavInfo&ProID="+ProID);
}
function ImgShow(){
	jQuery(".Box_025 a").eq(a).toggle();
	jQuery(".Box_025 a").eq(b).toggle();
	if(b<5){
		a=b;
		b++;
	}else if(b=5){
		a=5;
		b=0;
	}else{
		a=0;
		b=1;
	}
	setTimeout("ImgShow()",5000);
}
jQuery(function(){
	var $index = 0;
	var $mdt=$(".Focus dt");
	var $mA=$(".Focus dt a");
	var $mImg=$(".Focus dt img");
	jQuery(".Focus dd").mouseover(function(){
		var $self = jQuery(this);
		var $sA=$self.find("a");
		var $sImg=$self.find("a img");
		$mdt.html($self.html());
		//$mA.attr("title",$sA.att("title"));
		//$mImg.attr("src",$sA.att("src"));
	});
	a=0;b=1;
	jQuery(".Box_025 a").hide();
	jQuery(".Box_025 a:first").show();
	setTimeout("ImgShow()",5000);
	
})
jQuery(function(){
	$(".Box_019 li:first").addClass("t");
	$(".Box_020 li:first").addClass("t");
	$(".Box_021 li:first").addClass("t");
	$(".Box_022 li:first").addClass("t");
	$(".Nav ol li").hover(function(){
			$(this).addClass("a");
		},function(){
			$(this).removeClass("a");
		});
	$("#quickmenu").hover(function(){$("#quickmenu ul").show()},function(){$("#quickmenu ul").hide()});
	jQuery(".Nav ul li").hover(function(){jQuery(this).addClass("active")},function(){jQuery(this).removeClass("active");});
})
jQuery(function(){
	var index=0;
	$(".fLink ul").hide();
	$(".fLink ul:first").toggle();
	$(".fLink h2 span").click(function(){
		$(".fLink h2 span").removeClass();
		$(".fLink ul").hide();
		index=parseInt(jQuery(".fLink h2 span").index(jQuery(this)));
		$(".fLink h2 span").eq(index).toggleClass("a");
		$(".fLink ul").eq(index).toggle();
	});
});
