function netsun_search_box_form_4tall(){	
							var netsun_width,netsun_color,netsun_height
	if(typeof(netsun_border_color) == "undefined" || typeof(netsun_table_width) == "undefined")
	{
		netsun_color="#cccccc",netsun_width="100%",netsun_bgcolor="#ffffff";
	}
	else
	{
			if(netsun_border_color.length < 1)
			{
				netsun_border_color="#cccccc";
			}
			if(netsun_table_width.length < 1)
			{
				netsun_table_width="150";
			}
			if( typeof(netsun_bgcolor) == "undefined")
			{
				 netsun_bgcolor="#ffffff";
			}
			else
			{
				if(netsun_bgcolor.length < 2)
				netsun_bgcolor="#ffffff";
			}
			netsun_color=netsun_border_color,netsun_width=netsun_table_width,netsun_height=netsun_table_height;
  }
document.writeln("<table  bgcolor="+netsun_bgcolor+"  cellpadding=2 cellspacing=0 class=\"bian4\"  style=\"width:"+ netsun_table_width +";height:"+netsun_height+"; border: 1px solid "+netsun_color+";\" >");
document.writeln("      <input type=hidden id=\"netsun_search_box_form\" value=\"http://so.toocle.com/web/prod.htm\">");
document.writeln("<tr>");
document.writeln("          <td nowrap align=center ><a href=\"http://china.toocle.com\"><img border=0 src=\"http://china.toocle.com/images/searchbox1aa.gif\" alt=\"生意宝\" ></a><br>");
document.writeln("          <input id=\"netsun_terms_4tall\" style=\"width:90%\" value=\"交外贸朋友-上生意宝外贸论坛\" onfocus=\"if(this.value=='交外贸朋友-上生意宝外贸论坛')this.value='';\" name=\"terms\">");
document.writeln("               <br>");
document.writeln("             <div  class=\"sear002\">");
document.writeln("                 <input name=\"radiobutton_4tall\" type=\"radio\" value=\"radiobutton\" onclick=\"netsun_getaction('trade')\"><img src=\"http://china.toocle.com/images/trade_ft.gif\">   ");
document.writeln("                 <input type=\"radio\" name=\"radiobutton_4tall\" value=\"radiobutton\" checked onclick=\"netsun_getaction('prod')\"><img src=\"http://china.toocle.com/images/prod_ft.gif\">  <br>");
document.writeln("                 <input type=\"radio\" name=\"radiobutton_4tall\" value=\"radiobutton\" onclick=\"netsun_getaction('comp')\"><img src=\"http://china.toocle.com/images/comp_ft.gif\">   ");
document.writeln("                 <input type=\"radio\" name=\"radiobutton_4tall\" value=\"radiobutton\" onclick=\"netsun_getaction('news')\"><img src=\"http://china.toocle.com/images/news_ft.gif\">");
document.writeln("             </div>");
document.writeln("           <div class=\"sear005\">");
document.writeln("             <input  type=image src=\"http://china.toocle.com/images/so_ft_bt.gif\" onclick=\"openwinsearch_4tall()\"  style=\"width:52px;border:0px;\"></div>");
document.writeln("                  </td>");
document.writeln("        </tr>");
document.writeln("      </form>");
document.writeln("</table>");
}
function openwinsearch_4tall()
{
	var formobj   = document.getElementById("netsun_search_box_form");
	var surl      = formobj.value;
	var terms     = document.getElementById("netsun_terms_4tall").value
	var times     = new Date().getTime();
	var urlpront  ="http://china.toocle.com/b2b/expcode.cgi?httpurl="+surl+"&terms="+terms;
	js:urlpront=   encodeURI(urlpront);
	window.open(urlpront,"netsunsearch"+times,"");
}
function netsun_getaction(searchtype){
	var formobj   = document.getElementById("netsun_search_box_form");
  var searchurl ="http://so.toocle.com/web/"+searchtype+".htm" ;
  formobj.value=searchurl;
}

netsun_search_box_form_4tall();