   $(function(){
    $(".toggle dl dd").hide();
    $(".toggle dl dt").click(function(){
     $(".toggle dl dd").not($(this).next()).hide();
     $(".toggle dl dt").not($(this).next()).removeClass("current");
     $(this).next().slideToggle(500);
     $(this).toggleClass("current");
     });
    });
	
	

	
	$(function() {
 $('.lmenu dd:has("ul")').each(function() {
     $(this).find("ul:has(a.hover)").show();
     $(">a", this).click(function() {
         $(this).parent().siblings().find(">a").removeClass("hover");
         $(this).addClass("hover");
         $(this).parent().siblings().find("ul").slideUp();
         $(this).parent().find("ul").slideToggle(500);
         return false;
     })
 })
  })
  
	
	
	
			$(function(){
		$(".tab .c2 tr:odd").addClass("odd");
		$(".tab .c2 tr:even").addClass("even");
})


$(function(){
		$(".supply .txArea .n1 .tab dd li:odd").addClass("odd");
		$(".supply .txArea .n1 .tab dd li:even").addClass("even");
})


$(function(){
		$(".company_detail .txArea .n2 .tab dd li:odd").addClass("odd");
		$(".company_detail .txArea .n2 .tab dd li:even").addClass("even");
})

$(function(){
	$(".tool input.n1")
})
	



jQuery(function($){
	$(".txArea .tab").switchTab({defaultIndex: "0",titCell: "dt a", effect: "fade", trigger: "mouseover", delayTime: 300});
});






    $(function(){
	var picwidth = 	$(".runpic .pic img").size() * $(".runpic .bgpic").width();
	$(".runpic .pic").width(picwidth);
	
	$(".runpic a.prev").click(function(){
		var forwardwidth  = ($(".runpic .pic").position().left + $(".runpic .bgpic").width());
		if(forwardwidth > 0){ forwardwidth = $(".runpic .bgpic").width() - picwidth;}
		$(".runpic .pic").animate({
			left:forwardwidth + "px"
			},500)
		})
	
	$(".runpic a.next").click(function(){
		var backwidth = ($(".runpic .pic").position().left - $(".runpic .bgpic").width())%picwidth;
		$(".runpic .pic").animate({
			left:backwidth + "px"
			},500)
		})
	})




	
	
	$(function(){
		$(".allcmp dt").click(function(){
				$(">a",this).addClass("mag").removeClass("nar");
				 $(".allcmp dd").eq($(this).next()).hide();
			});			
})
$(function(){
			$(".allcmp dt").click(function(){
				$(">a",this).addClass("nar").removeClass("mag");
				$(".allcmp dd").eq($(this).next()).hide();
			});
						
})


   $(function(){
    $(".toggle dl dd").hide();
    $(".toggle dl dt").click(function(){
     $(".toggle dl dd").not($(this).next()).hide();
     $(".toggle dl dt").not($(this).next()).removeClass("current");
     $(this).next().slideToggle(500);
     $(this).toggleClass("current");
     });
    });
