function onclickImage(id){
document.getElementById(id).className="onmouserover";
}
function onmouseoutImage(tdId){
 if(tdId!=navigation){
document.getElementById(tdId).className="MainbavFont";
}
}
function onmouseoutA(AId){
 if(AId!=navigation+"A"){
document.getElementById(AId).className="MainbavFont";
}
}
function defaul_home(){
this.home.style.behavior='url(#default#homepage)';this.home.setHomePage('http://www.qqtex.net');
}
function Addme(){ 
url = "http://www.qqtex.net"; //你自己的主页地址 
title = "全球轻纺原料网-钱清中国轻纺原料城"; //你自己的主页名称 
window.external.AddFavorite(url,title); 
}
function getKeywordsList(){
	commonService.getKeywordsList(getKeywordStr);
}
function getKeywordStr(rptValueStr){
		  if(rptValueStr!=""){
	         document.getElementById("keywordList").innerHTML= rptValueStr;
		  }
		}

 function search(){
    var selectType = document.getElementById("selecttype");
    var content = document.getElementById("content").value;
    var type = selectType.value;
    if(type==purchase){
      document.getElementById("form2").action=parth+"/OpporunityList.do?method=searchOppByType&opportunityType=<%=TypeConst.OPPORTUNITY_TYPE_PURCHASE%>&content="+content;
      document.getElementById("form2").submit();
    }else if(type==provide){
      document.getElementById("form2").action=parth+"/OpporunityList.do?method=searchOppByType&opportunityType=<%=TypeConst.OPPORTUNITY_TYPE_PROVIDE%>&content="+content;
      document.getElementById("form2").submit();
    }else if(type=="member"){
      document.getElementById("form2").action=parth+"/memberController.do?method=getEpByBusinessCode&content="+content;
      document.getElementById("form2").submit();
    }else if(type=="product"){
      document.getElementById("form2").action=parth+"/ProductManageList.do?method=getProductList&content="+content+"&state=search";
      document.getElementById("form2").submit();
    }
    else if(type=="article"){
      document.getElementById("form2").action=parth+"/article.do?method=reseachArticlePageInFront";
      document.getElementById("form2").submit();
    }
  }
 


function over_gjz(tab_one,tab_two,tab_three){
//	if(tab_one=="a"&&tab_two=="a"&& tab_three =="a")
	document.getElementById("Layer1").style.visibility="visible";
	document.getElementById("connect_gjz").style.display="";
	if(tab_one=="a"&&tab_two=="a"&& tab_three =="c"){
	
	}else if(tab_one=="a"&&tab_two=="b"&& tab_three =="a"){
		document.getElementById("Layer1").style.visibility="hidden";
	}

}
function out_gjz(){
	document.getElementById("Layer1").style.visibility="hidden";//
}
