$(function()
{
	$(".m1").load("df.asp");
	$(".m2").load("index_left.asp");
	
	$(".c4:first").addClass("c5");
    $("li.t1 a:first").addClass("dhbg");	
	$(".bt2 img").each(function(i)
	{
	$(this).click(function()
	{
		$(".nr").filter(":visible").slideUp();
	})
	});
	$(".bt2").eq(0).css("border","0");
	$("li.t1").mouseover(function()
	{
		$("dhbg").removeClass("dhbg");
		$(this).addClass("dhbg");
	}).mouseout(function()
	{
		$(this).removeClass("dhbg");
	});
	$("li.t1 a").each(function(i)
	{
	$(this).click(function()
	{
		$(".dhbg").removeClass("dhbg");
		$(this).addClass("dhbg");
		if(i>0)
		{
		switch(i)
		{
			case 1:$(".m1").load("gongguan.asp");
			case 1:$(".m2").load("xleft.asp");
			break;
			case 2:$(".m1").load("zssj.asp");
			case 2:$(".m2").load("xleft.asp");
			break;
			case 3:$(".m1").load("pp.asp");
			case 3:$(".m2").load("xleft.asp");
			break;
			case 4:$(".m1").load("E-COMMERCE.asp");
			case 4:$(".m2").load("xleft.asp");
			break;
			case 5:$(".m1").load("xwdt.asp");
			case 5:$(".m2").load("xleft.asp");
			break;
			case 6:$(".m1").load("about.asp");
			case 6:$(".m2").load("xleft.asp");
			break;
			default:$(".m1").html("您的浏览器不支持Ajaxs");
		}}
	})
	});
	$(".m1").bind("ajaxStart",function()
	{
		$(this).html("正在加载,请稍后");
	}).ajaxStop(function()
	{
		$(this).html();
	});
	$("li.t2:last").css("border-bottom","1px solid #CCC");

})

