function formSearchOnSubmit(){
   document.searchform.action=document.getElementById("searchFangType").value;

}
//鼠标放上去显示不同的内容
function show(strtype){document.getElementById(strtype).style.display="block";
//document.getElementById("Image_"+strtype).style.display="block";
}
function hide(strtype){document.getElementById(strtype).style.display="none";
//document.getElementById("Image_"+strtype).style.display="none";
}


    function GetInfo(ad)
    {
       // ChanPingTuiGuang.InfoStrnig(obj,InfoList);
        
        for(i=1;i<3;i++)
        {
            var ss = 'ad_'+ i.toString();
			var info='info'+i.toString();
			var ShowInfo=document.getElementById("info" + i);
            if(ss == ad)
            {
			    document.getElementById(ss).style.backgroundColor='#FFFFFF';
                document.getElementById(ss).className="bgcolor1";
				document.getElementById(info).style.display="block";       
            }
            else
            {
			    document.getElementById(ss).style.backgroundColor='#EFF3F9';
                document.getElementById(ss).className="bgcolor2";
				document.getElementById(info).style.display="none";       
            }
        }
    }
    function GetInfo2(ad2)
    {
       // ChanPingTuiGuang.InfoStrnig(obj,InfoList);
        
        for(i=1;i<3;i++)
        {
            var T = 'T_'+ i.toString();
			var info='S_'+i.toString();
			var ShowInfo=document.getElementById("S_" + i);
            if(T == ad2)
            {
			    //document.getElementById(T).style.backgroundColor='#FFFFFF';
				document.getElementById("TagTop").className="bg2";
                document.getElementById(T).className="bgcolor1";
				document.getElementById(info).style.display="block";       
            }
            else
            {
			    //document.getElementById(T).style.backgroundColor='#FFFFFF';
				document.getElementById("TagTop").className="bg1";
                document.getElementById(T).className="bgcolor2";
				document.getElementById(info).style.display="none";       
            }
        }
    }	