function goldtrust_showSearchForm_tall_g(){
var goldtrust_default_search_action;
if(goldtrust_default_search=='goldtrust_p'){
	goldtrust_default_search_action="psearch";
	}else{
	goldtrust_default_search_action="clist";
	}
document.writeln("<link href=\"http://www.goldtrust.cn/css/english1.css\" rel=\"stylesheet\" type=\"text/css\">");
document.writeln("<table cellpadding=8 cellspacing=0 class=\"bian4\">");
document.writeln("  <form name=\"goldtrustSearch_tall_g\" method=\"post\" action=\"http://www.toocle.com/suppliers/"+goldtrust_default_search_action+".cgi\">");
document.writeln("      <tr>");
document.writeln("         <td nowrap >");
document.writeln("		    <img src=\"http://www.goldtrust.cn/images/searchbox1aa.gif\" alt=\"GoldTrust\" ><br>");
document.writeln("            <input class=\"sear001\" name=\"terms\">");
document.writeln("            <input type='hidden' name='t' value='search' > ");
document.writeln("             <br>");
document.writeln("          <div  class=\"sear002\">");
	if(goldtrust_default_search=="goldtrust_c")
	{
		document.writeln("	<input name=\"gts_radio\" type=radio value=\"product\"  onclick=\"goldtrust_changesearch_tall_g(this,'p')\">Product Search<br>");
		document.writeln("	<input name=\"gts_radio\" type=radio value=\"company\" checked onclick=\"goldtrust_changesearch_tall_g(this,'c')\">Company Search ");
	}
	else
	{
		document.writeln("	<input type=radio name=\"gts_radio\" value=\"product\" checked onclick=\"goldtrust_changesearch_tall_g(this,'p')\">Product Search<br>");
		document.writeln("	<input type=radio name=\"gts_radio\" value=\"company\" onclick=\"goldtrust_changesearch_tall_g(this,'c')\">Company Search ");
	}
document.writeln("		  </div>");
document.writeln("           <center> ");
document.writeln("		   <input name=search type=submit class=\"sear003\" id=\"search\" value=\"Search\">");
document.writeln("		   </center>          ");
document.writeln("		 </td>");
document.writeln("        </tr>");
document.writeln("      </form>");
document.writeln("</table>");

}
function goldtrust_changesearch_tall_g(obj,searchtype){
	var formname = obj.parentNode.parentNode.parentNode.parentNode.parentNode;
	if(searchtype=="c")
	{
		formname.action="http://www.toocle.com/suppliers/clist.cgi";
	}
	else
	{
		formname.action="http://www.toocle.com/suppliers/psearch.cgi";
	}
}
goldtrust_showSearchForm_tall_g();