<div class="searchOptions bottomPanelBorder" {$srchOpt_attrs}>
	
	<!-- Search panel content -->
	<div class="srchCritTop" style="display: none;">
		Criterio:&nbsp;
		<input type="radio" name="srchType" class="runner-radio-button" {$all_checkbox}> {BEGIN all_checkbox_label}todos{END all_checkbox_label}
		&nbsp;&nbsp;&nbsp;
		<input type="radio" name="srchType" class="runner-radio-button" {$any_checkbox}> {BEGIN any_checkbox_label}alguno{END any_checkbox_label}
	</div>
	
	<div class="addOption">
		<span class="runner-btnframe">
		<span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" id="showHideControlChooseMenu{$id}" class="runner-button" {$showHideCtrls_attrs}>Añadir campo</a>
		</span>
		&nbsp;&nbsp;&nbsp;
		<span class="runner-btnframe">
		<span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" id="showHideSearchType{$id}" class="runner-button" {$showHideCtrlsOpt_attrs}>{$showHideOpt_mess}</a>
		</span>
	</div>
	
	<!-- choose controls div -->
	<div class="runner-panel controlChooseMenu" {$controlChooseMenuDiv_attrs}>
		{BEGIN addSearch_idventa}
			<a href="#" id="addSearchControl_idventa" class="addSearchControl" {$addSearchControl_idventa_attrs}>Nº venta</a><br>
		{END addSearch_idventa}
		{BEGIN addSearch_fecha}
			<a href="#" id="addSearchControl_fecha" class="addSearchControl" {$addSearchControl_fecha_attrs}>Fecha</a><br>
		{END addSearch_fecha}
		{BEGIN addSearch_cliente}
			<a href="#" id="addSearchControl_cliente" class="addSearchControl" {$addSearchControl_cliente_attrs}>Cliente</a><br>
		{END addSearch_cliente}
		{BEGIN addSearch_total_venta}
			<a href="#" id="addSearchControl_total_venta" class="addSearchControl" {$addSearchControl_total_venta_attrs}>Total Venta</a><br>
		{END addSearch_total_venta}
		{BEGIN addSearch_total_cobro}
			<a href="#" id="addSearchControl_total_cobro" class="addSearchControl" {$addSearchControl_total_cobro_attrs}>Total Cobro</a><br>
		{END addSearch_total_cobro}
		{BEGIN addSearch_observacion}
			<a href="#" id="addSearchControl_observacion" class="addSearchControl" {$addSearchControl_observacion_attrs}>Observación</a><br>
		{END addSearch_observacion}
		{BEGIN addSearch_cobrada}
			<a href="#" id="addSearchControl_cobrada" class="addSearchControl" {$addSearchControl_cobrada_attrs}>Cobrada</a><br>
		{END addSearch_cobrada}
	</div>
	
	<table class="controlsBlock">
	{BEGIN searchCtrlBlock}
		<tr class="srchPanelRow" {$filterRow_attrs}>
			<td class="srchPanelCell">{$delCtrlButt}</td>
			<td class="srchPanelCell">{$fLabel}:&nbsp;</td>
			<td class="srchPanelCell srchPanelCell2">
				<div class="runner-searchtype">{$searchtype}</div>
				<div class="runner-searchcontrol">{$searchcontrol}</div>
				<div class="runner-searchcontrol">{$searchcontrol1}</div>
		</tr>
	{END searchCtrlBlock}
	</table>
	
	<div class="bottomSearchButt" align="left" {$bottomSearchButt_attrs}>
		<span class="runner-btnframe">
		<span class="runner-btnleft"></span>
		<span class="runner-btnright"></span>
		<a href="#" class="runner-button" {$searchbutton_attrs}>Buscar</a>
		</span>
	</div>
</div>
