function $e(name){
	return document.getElementById(name);
}
var time1=1;
var timeout1 = null
function wwbtbh(arg0){
	time1 = arg0;	
	for(var i=1;i<9;i++){
		var tmp = $e("chwlyszx_"+i);
		var tmp1 = $e("huadong_n_"+i);
		if(time1 == i)
		{
			tmp.style.background="url(/IMGFile/tophua/over_"+i+".jpg) no-repeat";
			tmp1.className="chwlyszx_v";
		}else
		{
			tmp.style.background="url(/IMGFile/tophua/st_"+i+".jpg) no-repeat";
			tmp1.className="chwlyszx_c";
		}
	}
	if(time1==8){
		time1=1;
	}else{
		time1++;
	}
	window.clearTimeout(timeout1);
	timeout1 = window.setTimeout("wwbtbh("+time1+")",5000);
}
function stopwwbtbh(){
	window.clearTimeout(timeout1);
}

function wwbtbh2(arg2){
	time1 = arg2;	
	for(var i=1;i<6;i++){
		var tmp = $e("zhuanlan_t_"+i);
		var tmp1 = $e("zhuanlan_nn_"+i);
		if(time1 == i)
		{
			tmp.style.background="url(/IMGFile/hua2/s_"+i+".jpg) no-repeat";
			tmp1.className="zhuanlan_v";
		}else
		{
			tmp.style.background="url(/IMGFile/hua2/c_"+i+".jpg) no-repeat";
			tmp1.className="zhuanlan_c";
		}
	}
}
function sy_wdbd_new(obj){
	time1 = obj;
	if(obj == "2"){
		document.getElementById("wdsm_new").style.display="none";
	}else{
		document.getElementById("wdsm_new").style.display="block";
	}
	for(var i=1;i<3;i++){
		var tmp = $e("wdsm_title_0"+i);
		var tmp1 = $e("wdsm_con_"+i);
		if(time1 == i)
		{
			tmp.style.background="url(/IMGFile/ktbdwd/bd_c_"+i+".jpg) no-repeat";
			tmp1.style.display="block";
			tmp.className="wdsm_content_v";
		}else
		{
			tmp.style.background="url(/IMGFile/ktbdwd/bd_s_"+i+".jpg) no-repeat";
			tmp1.style.display="none";
			tmp.className="wdsm_content_c";
		}
	}
}

function sy_top_left(obj){
	time1 = obj;
	for(var i=1;i<3;i++){
		var tmp = $e("md_r_current_0"+i);
		var tmp1 = $e("wdsm_con_"+i);
		if(time1 == i)
		{
			tmp.style.background="url(/IMGFile/index_img/change_main_s_"+i+".jpg) no-repeat";
			tmp1.style.display="block";
			tmp.className="md_r_main_v";
		}else
		{
			tmp.style.background="url(/IMGFile/index_img/change_main_c_"+i+".jpg) no-repeat";
			tmp1.style.display="none";
			tmp.className="md_r_main_c";
		}
	}
}

function sy_top_left_gg(obj){
	time1 = obj;
	for(var i=2;i<5;i++){
		var tmp = $e("gg_fen01_0"+i);
		var tmp1 = $e("gg_fen0"+i);
		if(time1 == i)
		{
			tmp.style.background="url(/IMGFile/img20100830/xss_UpAdpic.jpg) no-repeat";
			tmp.style.width="57px";
			tmp.style.height="25px";
			tmp1.style.display="block";
		}else
		{
			tmp1.style.display="none";
			tmp.style.background="none";
		}
	}
}

function sy_rqph(obj){
	time1 = obj;
	for(var i=1;i<3;i++){
		var tmp = $e("ph_current_0"+i);
		var tmp1 = $e("pn_cn_0"+i);
		if(time1 == i)
		{
			tmp.style.background="url(/IMGFile/index_img/home_s_"+i+".jpg) no-repeat";
			tmp1.style.display="block";
			tmp.className="ph_current_v";
		}else
		{
			tmp.style.background="url(/IMGFile/index_img/home_c_"+i+".jpg) no-repeat";
			tmp1.style.display="none";
			tmp.className="ph_current_c";
		}
	}
}

function sy_wdbd(obj){
	time1 = obj;	
	for(var i=1;i<3;i++){
		var tmp = $e("wdsm_title_0"+i);
		var tmp1 = $e("wdsm_con_"+i);
		if(time1 == i)
		{
			tmp.style.background="url(/IMGFile/ktbdwd/bd_c_"+i+".jpg) no-repeat";
			tmp1.style.display="block";
			tmp.className="wdsm_content_v";
		}else
		{
			tmp.style.background="url(/IMGFile/ktbdwd/bd_s_"+i+".jpg) no-repeat";
			tmp1.style.display="none";
			tmp.className="wdsm_content_c";
		}
	}
}

function wwbtbh1(arg1){
	time1 = arg1;	
	for(var i=1;i<6;i++){
		var tmp = $e("zhuanlan2_t_"+i);
		var tmp1 = $e("zhuanlan2_nn_"+i);
		if(time1 == i)
		{
			tmp.style.background="url(/IMGFile/bbshua/c_"+i+".jpg) no-repeat";
			tmp1.className="zhuanlan2_v";
		}else
		{
			tmp.style.background="url(/IMGFile/bbshua/s_"+i+".jpg) no-repeat";
			tmp1.className="zhuanlan2_c";
		}
	}
}

function wwbtbh3(str){
	if (str=="1")
	{
		$e("wnew_1").style.background="url(css/images/newEQ/zixunbg1_2.gif)";
		$e("wnew_1").className="wnew_1_ct";
		$e("wnew_2").style.background="url(css/images/newEQ/zixunbg1.gif) no-repeat";
		$e("wnew_2").className="wnew_1_ct1";
		$e("wnew_3").style.background="url(css/images/newEQ/zixunbg1.gif) no-repeat";
		$e("wnew_3").className="wnew_1_ct1";
		$e("rdzx1_w").className="zxpmw_2w";
		$e("rdzx2_w").className="zxpmw_2ww";
		$e("rdzx3_w").className="zxpmw_2ww";
	}
	if (str=="2")
	{
		$e("wnew_1").style.background="url(css/images/newEQ/zixunbg1.gif)";
		$e("wnew_1").className="wnew_1_ct1";
		$e("wnew_2").style.background="url(css/images/newEQ/zixunbg1_2.gif) no-repeat";
		$e("wnew_2").className="wnew_1_ct";
		$e("wnew_3").style.background="url(css/images/newEQ/zixunbg1.gif) no-repeat";
		$e("wnew_3").className="wnew_1_ct1";
		$e("rdzx1_w").className="zxpmw_2ww";
		$e("rdzx2_w").className="zxpmw_2w";
		$e("rdzx3_w").className="zxpmw_2ww";
	}
	if (str=="3")
	{
		$e("wnew_1").style.background="url(css/images/newEQ/zixunbg1.gif)";
		$e("wnew_1").className="wnew_1_ct1";
		$e("wnew_2").style.background="url(css/images/newEQ/zixunbg1.gif) no-repeat";
		$e("wnew_2").className="wnew_1_ct1";
		$e("wnew_3").style.background="url(css/images/newEQ/zixunbg1_2.gif) no-repeat";
		$e("wnew_3").className="wnew_1_ct";
		$e("rdzx1_w").className="zxpmw_2ww";
		$e("rdzx2_w").className="zxpmw_2ww";
		$e("rdzx3_w").className="zxpmw_2w";
	}
}

function wwbtbh4(str){
	if (str=="1")
	{
		$e("gongg1").style.background="url(css/images/newEQ/announcebg1_2.gif)";
		$e("gongg1").className="gongg_ct";
		$e("gongg2").style.background="url(css/images/newEQ/announcebg2.gif) no-repeat";
		$e("gongg2").className="gongg_ct1";
		$e("gongg3").style.background="url(css/images/newEQ/announcebg1.gif) no-repeat";
		$e("gongg3").className="gongg_ct1";
		$e("gongg4").style.background="url(css/images/newEQ/announcebg1.gif) no-repeat";
		$e("gongg4").className="gongg_ct1";
		$e("paihang_1_1").className="zxpmw_2w";
		$e("paihang_1_2").className="zxpmw_2ww";
		$e("paihang_1_3").className="zxpmw_2ww";
		$e("paihang_1_4").className="zxpmw_2ww";
	}
	if (str=="2")
	{
		$e("gongg1").style.background="url(css/images/newEQ/announcebg1.gif)";
		$e("gongg1").className="gongg_ct1";
		$e("gongg2").style.background="url(css/images/newEQ/announcebg2_2.gif) no-repeat";
		$e("gongg2").className="gongg_ct";
		$e("gongg3").style.background="url(css/images/newEQ/announcebg1.gif) no-repeat";
		$e("gongg3").className="gongg_ct1";
		$e("gongg4").style.background="url(css/images/newEQ/announcebg1.gif) no-repeat";
		$e("gongg4").className="gongg_ct1";
		$e("paihang_1_1").className="zxpmw_2ww";
		$e("paihang_1_2").className="zxpmw_2w";
		$e("paihang_1_3").className="zxpmw_2ww";
		$e("paihang_1_4").className="zxpmw_2ww";
	}
	if (str=="3")
	{
		$e("gongg1").style.background="url(css/images/newEQ/announcebg1.gif)";
		$e("gongg1").className="gongg_ct1";
		$e("gongg2").style.background="url(css/images/newEQ/announcebg2.gif) no-repeat";
		$e("gongg2").className="gongg_ct1";
		$e("gongg3").style.background="url(css/images/newEQ/announcebg1_2.gif) no-repeat";
		$e("gongg3").className="gongg_ct";
		$e("gongg4").style.background="url(css/images/newEQ/announcebg1.gif) no-repeat";
		$e("gongg4").className="gongg_ct1";
		$e("paihang_1_1").className="zxpmw_2ww";
		$e("paihang_1_2").className="zxpmw_2ww";
		$e("paihang_1_3").className="zxpmw_2w";
		$e("paihang_1_4").className="zxpmw_2ww";
	}
	if (str=="4")
	{
		$e("gongg1").style.background="url(css/images/newEQ/announcebg1.gif)";
		$e("gongg1").className="gongg_ct1";
		$e("gongg2").style.background="url(css/images/newEQ/announcebg2.gif) no-repeat";
		$e("gongg2").className="gongg_ct1";
		$e("gongg3").style.background="url(css/images/newEQ/announcebg1.gif) no-repeat";
		$e("gongg3").className="gongg_ct1";
		$e("gongg4").style.background="url(css/images/newEQ/announcebg1_2.gif) no-repeat";
		$e("gongg4").className="gongg_ct";
		$e("paihang_1_1").className="zxpmw_2ww";
		$e("paihang_1_2").className="zxpmw_2ww";
		$e("paihang_1_3").className="zxpmw_2ww";
		$e("paihang_1_4").className="zxpmw_2w";
	}
}

function _switch_ct(c){
	if("click"==c){
		$e("tclick").className="pai01";
		$e("tnew").className="pai03";
		$e("clicklist").style.display="block";
		$e("nslist").style.display="none";
	}else{
		$e("tclick").className="pai03";
		$e("tnew").className="pai01";
		$e("clicklist").style.display="none";
		$e("nslist").style.display="block";
	}
}

function _switch_dinner(c){
	if("swyq_t"==c){
		$e("swyq_t").className="sl_box_tap02";
		$e("hy_t").className="sl_box_tap01";
		$e("swyq_box").style.display="block";
		$e("hy_box").style.display="none";
	}else{
		$e("swyq_t").className="sl_box_tap01";
		$e("hy_t").className="sl_box_tap02";
		$e("swyq_box").style.display="none";
		$e("hy_box").style.display="block";
	}
}



