function OpenNewsList(id){
		 iNewsList1.style.display='none';
		 iNewsList2.style.display='none';
	 eval("iNewsList"+id).style.display='block';
	 	 TD_news1.className="top-lan-2";
		 TD_news2.className="top-lan-2";
	 eval("TD_news"+id).className='top-lan-1';

}

function OpenNewsList3(id){
		 ff_1.style.display='none';
		 ff_2.style.display='none';
	 eval("ff_"+id).style.display='block';
	 	 cux_1.className="fff-2";
		 cux_2.className="fff-2";
	 eval("cux_"+id).className='fff-3';

}

function OpenNewsList2(id){
		 pNewsList1.style.display='none';
		 pNewsList2.style.display='none';
		 pNewsList3.style.display='none';
		 pNewsList4.style.display='none';
	eval("pNewsList"+id).style.display='block';
	 	 PD_news1.className="top-lan-2";
		 PD_news2.className="top-lan-2";
		 PD_news3.className="top-lan-2";
		 PD_news4.className="top-lan-2";
	 eval("PD_news"+id).className='top-lan-1';

}


function changefss(id){
 if(id==0){ 
 td1.style.background="#e94c75";
 td2.style.background="";
 td1.style.color="#ffffff";
 td2.style.color="#000000";
 zb1.style.display='';
 zb2.style.display='none';
 }

 if(id==1){ 
td1.style.background="";
td2.style.background="#e94c75";
td1.style.color="#000000";
td2.style.color="#ffffff";
 zb1.style.display='none';
 zb2.style.display='';
 }

}
//快速发布招标	   
function CheckForm()
{
	if (document.frm_zb.person.value.length == 0) {
		alert("请填写您的称呼!");
		document.frm_zb.person.focus();
		return false;
	}
	if (document.frm_zb.shengfen.value.length == 0) {
		alert("请选择所在区域!");
		document.frm_zb.shengfen.focus();
		return false;
	}
	if (document.frm_zb.address.value.length == 0) {
		alert("请填写装修地址!");
		document.frm_zb.address.focus();
		return false;
	}
	if (document.frm_zb.mianji.value.length == 0) {
		alert("请注明房子面积!");
		document.frm_zb.mianji.focus();
		return false;
	}

	if (document.frm_zb.phone.value.length == 0) {
		alert("请写上您的联系电话!");
		document.frm_zb.phone.focus();
		return false;
	}
	return true
}



//首页中间	   
function CheckForm_mid()
{
	if (document.frm_zb_mid.person.value.length == 0) {
		alert("请填写您的称呼!");
		document.frm_zb_mid.person.focus();
		return false;
	}
	if (document.frm_zb_mid.shengfen.value.length == 0) {
		alert("请选择所在区域!");
		document.frm_zb.shengfen.focus();
		return false;
	}
	if (document.frm_zb_mid.address.value.length == 0) {
		alert("请填写装修地址!");
		document.frm_zb_mid.address.focus();
		return false;
	}
	if (document.frm_zb_mid.mianji.value.length == 0) {
		alert("请注明房子面积!");
		document.frm_zb_mid.mianji.focus();
		return false;
	}

	if (document.frm_zb_mid.phone.value.length == 0) {
		alert("请写上您的联系电话!");
		document.frm_zb_mid.phone.focus();
		return false;
	}
	return true
}

