   function searchit(){

   strquery=self.document.searchfm.keyinput.value;

   strquery.replace(" ","+");

   if (self.document.searchfm.siteselect.selectedIndex==0) {
    alert("请选择搜索引擎!");
  }
   if (self.document.searchfm.siteselect.selectedIndex==1) {
	//1.深圳之窗智能查询
    //self.document.location="http://cns.3721.com/cns.dll?name=" + strquery + "&act=info&coagent=szptt";
    open("http://sbox.3721.com/mainbox.htm?str=" + strquery + "&userid=50&username=szzc&coagent=3721se")
  }  

    if (self.document.searchfm.siteselect.selectedIndex==2) {
	//2.Google  
   open("http://www.google.com/search?q=" + strquery +  "&hl=zh-CN&btnG=Google搜索&lr=")

   }

   if (self.document.searchfm.siteselect.selectedIndex==3) {
	//3.yahoo
    open("http://search.chinese.yahoo.com/search/gb?p="+strquery)
    
  }

  if (self.document.searchfm.siteselect.selectedIndex==4) {
	//4.搜狐 
   open("http://site.search.sohu.com/sitesearch.jsp?key_word=" + strquery +  "&page_index=0")

   }
  if (self.document.searchfm.siteselect.selectedIndex==5) {
	//5.新浪
   open("http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey=" + strquery + "&_andor=and&_ss=sina")

   }
  if (self.document.searchfm.siteselect.selectedIndex==6) {
	//6.21CN
   open("http://search.21cn.com/result.php?lm=0&sr=2&si=gi&cl=3&ct=0&word=" + strquery + "&tn=21cndir")

   }   
  if (self.document.searchfm.siteselect.selectedIndex==7) {
	//7.网易  
   open("http://nisearch.163.com/Search?q=" + strquery)

   }
  if (self.document.searchfm.siteselect.selectedIndex==8) {
	//9.Yahoo
   open("http://search.yahoo.com/bin/search?p="+strquery)

   }

}




