<!--
/*
 File		: searchbox.js

 Purpose    : This javascript file for the search box on the left handside
 
 Functions  : 
 
 Remarks    : The table should contain 2 columns
	    
	    The following is the sample codes for including this js file
 
	    <TABLE WIDTH="166" BORDER="0" CELLSPACING="0" CELLPADDING="0">
	<TR>
	    <TD><IMG SRC="../images/common/blank.gif" WIDTH="10" HEIGHT="1" BORDER="0"></TD>
	    <TD><IMG SRC="../images/common/blank.gif" WIDTH="156" HEIGHT="1" BORDER="0"></TD>
	</TR>
	<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="[js path]/searchbox.js"></SCRIPT>
	</TABLE>
	
 
 Version    Date	    By		    Description
 -----------------------------------------------------------------------
 1st	    2002-05-31	   Vivian Au	    First Version
 -----------------------------------------------------------------------
*/

document.writeln("<SCRIPT TYPE=\"text/javascript\" LANGUAGE=\"JavaScript\" SRC=\"\/js\/common.js\"><\/SCRIPT>")
var searchStr = "";

    searchStr += "<FORM ACTION=\"\" METHOD=\"POST\" NAME=\"searchFrm\" onSubmit=\"javascript:return false\;\">";
    searchStr += "<TR><TD COLSPAN=\"2\"><IMG SRC=\"" + thisPath + "images/common/ti_search.gif\" WIDTH=\"156\" HEIGHT=\"12\" BORDER=\"0\" ALT=\"搜索\"></TD></TR>";
    searchStr += "<TR><TD COLSPAN=\"2\"><IMG SRC=\"" + thisPath + "images/common/blank.gif\" WIDTH=\"1\" HEIGHT=\"5\" BORDER=\"0\">(请以英文输入)</TD></TR>";
    if (ns) {
	searchStr += "<TR><TD COLSPAN=\"2\"><INPUT TYPE=\"Text\" NAME=\"search\" SIZE=\"9\"  style=\"WIDTH:124px;\"><INPUT TYPE=\"hidden\" NAME=\"language\"  VALUE=\"gb\"><INPUT TYPE=\"hidden\" NAME=\"country\" VALUE=\"CN\"> ";
	searchStr += "<A HREF=\"javascript:go_search();\"><IMG SRC=\"" + thisPath + "images/common/com_gelarrowright_but.gif\" WIDTH=\"20\" HEIGHT=\"19\" BORDER=\"0\" ALIGN=\"ABSBOTTOM\" ALT=\"搜索\"></TD></TR></FORM>";
    } else {
	searchStr += "<TR><TD COLSPAN=\"2\"><INPUT TYPE=\"Text\" NAME=\"search\" SIZE=\"16\" style=\"WIDTH:124px;\"><INPUT TYPE=\"hidden\" NAME=\"language\"  VALUE=\"gb\"><INPUT TYPE=\"hidden\" NAME=\"country\" VALUE=\"CN\"> ";
	searchStr += "<A HREF=\"javascript:go_search();\"><IMG SRC=\"" + thisPath + "images/common/com_gelarrowright_but.gif\" WIDTH=\"20\" HEIGHT=\"19\" BORDER=\"0\" ALT=\"搜索\"></A></TD></TR></FORM>";
    }
document.writeln(searchStr);
//-->
