<!---------- Beginning of Search Form ---------->
<div class="sadv">
	<form id="searchform" class="form" action="./_search.php#firstresult" role="search">
		<fieldset class="left">
			<legend>{{TXT-SearchText}}</legend>
			<div class="sfield">
<div class="input1">
<if name="AutoComplete">
<div class="ausu-suggest">
</if>
		    	<input  id="searchresult" value="<?php echo $mycritx; ?>" name="c" autocomplete="off" type="text" class="search inputheight" placeholder="{{TXT-SearchText}}">
<if name="AutoComplete">
</div>
</if>
				</div>
<if name="Advanced">
<?php $urlPost="&amp;m=".$searchMode."&amp;s=".$sortMode."&amp;a=".$searchModeAdd; ?>
				<div class="input1">
					<label>
						{{TXT-SelMode}}
					</label>
					<select name="a" class="inputheight">
						<option <?php if ($searchModeAdd=="0") echo 'selected="selected" '; ?> value="0">{{TXT-Or}}</option>
						<option <?php if ($searchModeAdd =="2") echo 'selected="selected" '; ?>  value="2">{{TXT-And}}</option>
					</select>
				</div>
<div class="input1">
					<label>
						{{TXT-Smode}}
					</label>
					<select name="m" class="inputheight">
						<option <?php if ($searchMode=="0") echo 'selected="selected" '; ?> value="0">{{TXT-Words}}</option>
						<option <?php if ($searchMode=="1") echo 'selected="selected" '; ?>  value="1">{{TXT-Characters}}</option>
					</select>
				</div>
<div class="input1">
					<label>
						{{TXT-Sort}}
					</label>
					<select name="s" class="inputheight">
						<option <?php if ($sortMode=="0") echo 'selected="selected" '; ?> value="0">{{TXT-Relevance}}</option>
					    <option <?php if ($sortMode=="1") echo 'selected="selected" '; ?>  value="1">{{TXT-Ouccur}}</option>
					    <option <?php if ($sortMode=="2") echo 'selected="selected" '; ?>  value="2">{{TXT-Latest}}</option>
					</select>
				</div>	<!-- Close class="input1" -->
</if>
<button type="submit" class="btn btn-default SubmitAlign">
		  			<div class="BtnTextAlign">
<p>
				  			{{TXT-Button}}
				  		</p>
		  			</div>
				  </button>
</div>	<!-- Close  class="sfield" -->
</fieldset>	<!-- Close  class="left" -->
	</form>
</div>	<!-- Close  class="sadv" -->
<!---------- End of Search Form ---------->