		function onSearch()
		{
		
		var id=document.getElementById("select").value;
		
		var typeurl = "http://wwww.zgbfw.com/";
			if(id == "sale")
			{ 
				strURL = "http://www.zgbfw.com/Search/search.asp?type=trade&zgbfw=供求商机&length=40&KeyWord=" +  document.all("TheKey").value+ "";
				window.open(strURL);
			}
			else if(id == "buy")
			{
				strURL = "http://www.zgbfw.com/Search/search.asp?type=trade1&zgbfw=求购商机&length=40&KeyWord=" +  document.all("TheKey").value;
			    window.open(strURL);
		
			}
			else if(id == "companys")
			{
			  
				strURL = "http://www.zgbfw.com/Search/search.asp?type=company&zgbfw=企业名录&length=40&KeyWord=" +  document.all("TheKey").value;
				  window.open(strURL);
			}
			else if(id == "price")
			{
			  
				strURL = "http://www.zgbfw.com/Search/search.asp?type=price&zgbfw=产品报价&length=40&KeyWord=" +  document.all("TheKey").value;
				  window.open(strURL);
			}
			else if(id == "exhibition")
			{
			  
				strURL = "http://www.zgbfw.com/Search/search.asp?type=exhibition&zgbfw=展会&length=40&KeyWord=" +  document.all("TheKey").value;
				  window.open(strURL);
			}
			else if(id == "products")
			{
		
				strURL = "http://www.zgbfw.com/Search/search.asp?type=product&zgbfw=产品查询&length=16&KeyWord=" +  document.all("TheKey").value + "";
				  window.open(strURL);
			}
			else if(id == "ability")
			{
			    strURL = "http://www.zgbfw.com/Search/search.asp?type=job&zgbfw=企业招聘&length=40&KeyWord=" +  document.all("TheKey").value + "";
				  window.open(strURL);
			}
			else if(id == "news")
			{
				strURL = "http://www.zgbfw.com/Search/search.asp?type=news&zgbfw=信息资讯&length=40&KeyWord=" +  document.all("TheKey").value + "";
			      window.open(strURL);
			}
			else if(id == "job")
			{strURL = "http://www.zgbfw.com/Search/search.asp?type=job&length=40&KeyWord=" +  document.all("TheKey").value + "";
			      window.open(strURL);
			}
			else if(id == "info")
			{
				strURL = "http://www.zgbfw.com/Search/search.asp?type=job&length=40&KeyWord=" +  document.all("TheKey").value + "";
			      window.open(strURL);
			}
    }