<!-- Java function for the below is in:
		/nwimg/smooth/script_cmd.js
-->

<form name="search" method="post" action="||action||" target="xlist">
	<input type="hidden" name="cmd" value="dosearch" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="multi_sel_fld" value="INBOX" />
	<input type="hidden" name="page" value="search_list" />

<!-- flag Options -->
	<input type="hidden" name="charset" value="US-ASCII" />
	<input type="hidden" name="imap_search_whole_body" value="" />
	<input type="hidden" name="search_mode" value="" />
	

<table height="100%" width="100%" cellspacing="0" cellpadding="0">
<tr><td align="center">||lang_str||Select mail box to search and enter details below||</td></tr>
<tr><td valign="center" align="center">

<table cellspacing="0" cellpadding="0">
<tr>	<td>
		<table>
		<tr>	<td align="right">||lang_str||From||:</td>
			<td>
				<input type="text" size="38" name="search_from" value="||html_text||nick_name||"/>
			</td>
		</tr>
		<tr>	<td align="right">||lang_str||To||:</td>
			<td align="left">
				<input type="text" size="38" name="search_to" value="||html_text||abk_full_name||"/>
			</td>
		</tr>
		<tr>	<td align="right">||lang_str||Subject||:</td>
			<td>
				<input type="text" size="38" name="search_subject" value="||html_text||abk_email||"/>
			</td>
		</tr>
		<tr>	<td align="right">||lang_str||Message Body||:</td>
			<td>
				<input type="text" size="38" name="search_body" value="||html_text||abk_phone||"/>
			</td>
		</tr>
		||ifequal||connection_type||pop||
			<tr>
				<td align="right">||lang_str||Max Search Size||:</td>
				<td>
					<select name="search_body_size" size="1">
						<option value="0">All</option>
						<option value="1">1k</option>
						<option value="2">2k</option>
						<option value="4" selected="selected">4k</option>
						<option value="8">8k</option>
						<option value="16">16k</option>
						<option value="32">32k</option>
					</select>
				</td>
			</tr>
		||endif||
		
		</table>
	</td>
	<td valign="bottom">
		<table>		
		<tr>	<td>				
				<input type="button" class="button" onclick="search_preform();" value="||lang_str||Search||" />
			</td>
		</tr>
		</table>

	</td>
</tr>
</table>
</td></tr>
</table>
</form>

<form name="searchfld" method="post" action="||action||" target="xsearchselect">
	<input type="hidden" name="cmd" value="show" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="page" value="search_select" />
	<input type="hidden" name="force_connection" value="true" />
</form>
