//
var topHot="on";
var zixun="on";
//头条热点 能自动播放
function controlhot_11()
{
	if(topHot=="off") return;
	document.all("hot_11").style.display=""
	document.all("hot_12").style.display="none"
	document.all("hot_13").style.display="none"
	document.all("hot_14").style.display="none"
	document.all("c_hot_11").className="hot_on"
	document.all("c_hot_12").className="hot_off"
	document.all("c_hot_13").className="hot_off"
	document.all("c_hot_14").className="hot_off"
	setTimeout("controlhot_11()",14000)
}
function controlhot_12()
{
	if(topHot=="off") return;
	document.all("hot_11").style.display="none"
	document.all("hot_12").style.display=""
	document.all("hot_13").style.display="none"
	document.all("hot_14").style.display="none"
	document.all("c_hot_11").className="hot_off"
	document.all("c_hot_12").className="hot_on"
	document.all("c_hot_13").className="hot_off"
	document.all("c_hot_14").className="hot_off"
	setTimeout("controlhot_12()",14000)
}
function controlhot_13()
{
	if(topHot=="off") return;
	document.all("hot_11").style.display="none"
	document.all("hot_12").style.display="none"
	document.all("hot_13").style.display=""
	document.all("hot_14").style.display="none"
	document.all("c_hot_11").className="hot_off"
	document.all("c_hot_12").className="hot_off"
	document.all("c_hot_13").className="hot_on"
	document.all("c_hot_14").className="hot_off"
	setTimeout("controlhot_13()",14000)
}
function controlhot_14()
{
	if(topHot=="off") return;
	document.all("hot_11").style.display="none"
	document.all("hot_12").style.display="none"
	document.all("hot_13").style.display="none"
	document.all("hot_14").style.display=""
	document.all("c_hot_11").className="hot_off"
	document.all("c_hot_12").className="hot_off"
	document.all("c_hot_13").className="hot_off"
	document.all("c_hot_14").className="hot_on"
	setTimeout("controlhot_14()",14000)
}
function controlhot_mouseover(obj)
{
	topHot="off"
	if(obj=="hot_11")
	{
		document.all("hot_11").style.display=""
		document.all("hot_12").style.display="none"
		document.all("hot_13").style.display="none"
		document.all("hot_14").style.display="none"
		document.all("c_hot_11").className="hot_on"
		document.all("c_hot_12").className="hot_off"
		document.all("c_hot_13").className="hot_off"
		document.all("c_hot_14").className="hot_off"
	}
	else if(obj=="hot_12")
	{
		document.all("hot_11").style.display="none"
		document.all("hot_12").style.display=""
		document.all("hot_13").style.display="none"
		document.all("hot_14").style.display="none"
		document.all("c_hot_11").className="hot_off"
		document.all("c_hot_12").className="hot_on"
		document.all("c_hot_13").className="hot_off"
		document.all("c_hot_14").className="hot_off"
	}
	else if(obj=="hot_13")
	{
		document.all("hot_11").style.display="none"
		document.all("hot_12").style.display="none"
		document.all("hot_13").style.display=""
		document.all("hot_14").style.display="none"
		document.all("c_hot_11").className="hot_off"
		document.all("c_hot_12").className="hot_off"
		document.all("c_hot_13").className="hot_on"
		document.all("c_hot_14").className="hot_off"
	}
	else
	{
		document.all("hot_11").style.display="none"
		document.all("hot_12").style.display="none"
		document.all("hot_13").style.display="none"
		document.all("hot_14").style.display=""
		document.all("c_hot_11").className="hot_off"
		document.all("c_hot_12").className="hot_off"
		document.all("c_hot_13").className="hot_off"
		document.all("c_hot_14").className="hot_on"
	}
}
//在线咨询 能自动播放
function controlzixun_21()
{
	if(zixun=="off") return ;
	document.all("center_21").style.display="";
	document.all("center_22").style.display="none";
	document.all("c_center_21").className="lei_on";
	document.all("c_center_22").className="lei_off";
	setTimeout("controlzixun_21()",6000)
}
function controlzixun_22()
{
	if(zixun=="off") return ;
	document.all("center_21").style.display="none";
	document.all("center_22").style.display="";
	document.all("c_center_21").className="lei_off";
	document.all("c_center_22").className="lei_on";
	setTimeout("controlzixun_22()",6000)
}
function controlzixun_mouseover(obj)
{
	zixun="off";
	if(obj=="center_21")
	{
		document.all("center_21").style.display="";
		document.all("center_22").style.display="none";
		document.all("c_center_21").className="lei_on";
		document.all("c_center_22").className="lei_off";
	}
	else
	{
		document.all("center_21").style.display="none";
		document.all("center_22").style.display="";
		document.all("c_center_21").className="lei_off";
		document.all("c_center_22").className="lei_on";
	}
}
//自动控制播放栏目的开始程序
/*setTimeout("controlhot_11()",0)
setTimeout("controlhot_14()",5000)
setTimeout("controlhot_12()",8000)
setTimeout("controlhot_13()",11000)
setTimeout("controlzixun_21()",0)
setTimeout("controlzixun_22()",3000)*/
//法律中心
function controllaw_mouseover(obj)
{
	if(obj=="center_11")
	{
		document.all("center_11").style.display="";
		document.all("center_12").style.display="none";
		document.all("c_center_11").className="lei_on";
		document.all("c_center_12").className="lei_off";
	}
	else
	{
		document.all("center_11").style.display="none";
		document.all("center_12").style.display="";
		document.all("c_center_11").className="lei_off";
		document.all("c_center_12").className="lei_on";
	}

}
function controlcase_mouseover(obj)
{
	if(obj=="center_31")
	{
		document.all("center_31").style.display="";
		document.all("center_32").style.display="none";
		document.all("c_center_31").className="lei_on";
		document.all("c_center_32").className="lei_off";
	}
	else
	{
		document.all("center_31").style.display="none";
		document.all("center_32").style.display="";
		document.all("c_center_31").className="lei_off";
		document.all("c_center_32").className="lei_on";
	}
}
//资料下载
function controldown_mouseover(obj)
{
	if(obj=="center_41")
	{
		document.all("center_41").style.display="";
		document.all("center_42").style.display="none";
		document.all("center_43").style.display="none";
		document.all("c_center_41").className="lei_on";
		document.all("c_center_42").className="lei_off";
		document.all("c_center_43").className="lei_off";
	}
	else if(obj=="center_42")
	{
		document.all("center_41").style.display="none";
		document.all("center_42").style.display="";
		document.all("center_43").style.display="none";
		document.all("c_center_41").className="lei_off";
		document.all("c_center_42").className="lei_on";
		document.all("c_center_43").className="lei_off";
	}
	else
	{
		document.all("center_41").style.display="none";
		document.all("center_42").style.display="none";
		document.all("center_43").style.display="";
		document.all("c_center_41").className="lei_off";
		document.all("c_center_42").className="lei_off";
		document.all("c_center_43").className="lei_on";
	}
}
//左边的劳动保障
function controlportect(obj)
{
	if(obj=="left_21")
	{
		document.all("left_21").style.display="";
		document.all("left_22").style.display="none";
		document.all("left_23").style.display="none";
		document.all("c_left_21").className="topC1";
		document.all("c_left_22").className="topC0";
		document.all("c_left_23").className="topC0";
	}
	else if(obj=="left_22")
	{
		document.all("left_21").style.display="none";
		document.all("left_22").style.display="";
		document.all("left_23").style.display="none";
		document.all("c_left_21").className="topC0";
		document.all("c_left_22").className="topC1";
		document.all("c_left_23").className="topC0";
	}
	else
	{
		document.all("left_21").style.display="none";
		document.all("left_22").style.display="none";
		document.all("left_23").style.display="";
		document.all("c_left_21").className="topC0";
		document.all("c_left_22").className="topC0";
		document.all("c_left_23").className="topC1";
	}
}
function controlHr(obj)
{
	if(obj=="left_11")
	{
		document.all("left_11").style.display="";
		document.all("left_12").style.display="none";
		document.all("left_13").style.display="none";
		document.all("c_left_11").className="topC1";
		document.all("c_left_12").className="topC0";
		document.all("c_left_13").className="topC0";
	}
	else if(obj=="left_12")
	{
		document.all("left_11").style.display="none";
		document.all("left_12").style.display="";
		document.all("left_13").style.display="none";
		document.all("c_left_11").className="topC0";
		document.all("c_left_12").className="topC1";
		document.all("c_left_13").className="topC0";
	}
	else
	{
		document.all("left_11").style.display="none";
		document.all("left_12").style.display="none";
		document.all("left_13").style.display="";
		document.all("c_left_11").className="topC0";
		document.all("c_left_12").className="topC0";
		document.all("c_left_13").className="topC1";
	}
}
function controlcomment(obj)
{
	if(obj=="left_31")
	{
		document.all("left_31").style.display="";
		document.all("left_32").style.display="none";
		document.all("c_left_31").className="topC1";
		document.all("c_left_32").className="topC0";
	}
	else
	{
		document.all("left_31").style.display="none";
		document.all("left_32").style.display="";
		document.all("c_left_31").className="topC0";
		document.all("c_left_32").className="topC1";
	}
}
//论坛
function controlbbs(obj)
{
	
	if(obj=="hrbbs")
	{
		document.all("hrbbs").style.display="";
		//document.all("nmgbbs").style.display="none";
		document.all("diaocha").style.display="none";
		document.all("c_hrbbs").className="topC1";
		//document.all("c_nmgbbs").className="topC0";
		document.all("hr_diaocha").className="topC0";
		
	}
	else if(obj=="nmgbbs")
	{
		document.all("hrbbs").style.display="none";
		//document.all("nmgbbs").style.display="";
		document.all("diaocha").style.display="none";
		document.all("c_hrbbs").className="topC0";
		//document.all("c_nmgbbs").className="topC1";
		document.all("hr_diaocha").className="topC0";
	}
	else
	{
		document.all("hrbbs").style.display="none";
		//document.all("nmgbbs").style.display="none";
		document.all("diaocha").style.display="";
		document.all("c_hrbbs").className="topC0";
		//document.all("c_nmgbbs").className="topC0";
		document.all("hr_diaocha").className="topC1";
	}
}
//专题
function controlzt(obj)
{
	if(obj=="zt_11")
	{
		document.all("zt_11").style.display="";
		document.all("zt_12").style.display="none";
		document.all("zt_13").style.display="none";
		document.all("zt_1").className="zt_on";
		document.all("zt_2").className="zt_off";
		document.all("zt_3").className="zt_off";
	}
	else if(obj=="zt_12")
	{
		document.all("zt_11").style.display="none";
		document.all("zt_12").style.display="";
		document.all("zt_13").style.display="none";
		document.all("zt_1").className="zt_off";
		document.all("zt_2").className="zt_on";
		document.all("zt_3").className="zt_off";
	}
	else
	{
		document.all("zt_11").style.display="none";
		document.all("zt_12").style.display="none";
		document.all("zt_13").style.display="";
		document.all("zt_1").className="zt_off";
		document.all("zt_2").className="zt_off";
		document.all("zt_3").className="zt_on";
	}
}