<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_tipo}
			<a href="#" id="addSearchControl_tipo" class="addSearchControl" {$addSearchControl_tipo_attrs}>Tipo</a><br>
		{END addSearch_tipo}
		{BEGIN addSearch_idtransaccion}
			<a href="#" id="addSearchControl_idtransaccion" class="addSearchControl" {$addSearchControl_idtransaccion_attrs}>ID</a><br>
		{END addSearch_idtransaccion}
		{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_idarticulo}
			<a href="#" id="addSearchControl_idarticulo" class="addSearchControl" {$addSearchControl_idarticulo_attrs}>Artículo</a><br>
		{END addSearch_idarticulo}
		{BEGIN addSearch_costo}
			<a href="#" id="addSearchControl_costo" class="addSearchControl" {$addSearchControl_costo_attrs}>Costo</a><br>
		{END addSearch_costo}
		{BEGIN addSearch_precio}
			<a href="#" id="addSearchControl_precio" class="addSearchControl" {$addSearchControl_precio_attrs}>Precio</a><br>
		{END addSearch_precio}
		{BEGIN addSearch_cant}
			<a href="#" id="addSearchControl_cant" class="addSearchControl" {$addSearchControl_cant_attrs}>Cant</a><br>
		{END addSearch_cant}
		{BEGIN addSearch_total}
			<a href="#" id="addSearchControl_total" class="addSearchControl" {$addSearchControl_total_attrs}>Total</a><br>
		{END addSearch_total}
		{BEGIN addSearch_importe}
			<a href="#" id="addSearchControl_importe" class="addSearchControl" {$addSearchControl_importe_attrs}>Importe</a><br>
		{END addSearch_importe}
		{BEGIN addSearch_descuento}
			<a href="#" id="addSearchControl_descuento" class="addSearchControl" {$addSearchControl_descuento_attrs}>Descuento</a><br>
		{END addSearch_descuento}
		{BEGIN addSearch_observacion}
			<a href="#" id="addSearchControl_observacion" class="addSearchControl" {$addSearchControl_observacion_attrs}>Observación</a><br>
		{END addSearch_observacion}
		{BEGIN addSearch_cobrado}
			<a href="#" id="addSearchControl_cobrado" class="addSearchControl" {$addSearchControl_cobrado_attrs}>Cobrado</a><br>
		{END addSearch_cobrado}
		{BEGIN addSearch_anulado}
			<a href="#" id="addSearchControl_anulado" class="addSearchControl" {$addSearchControl_anulado_attrs}>Anulado</a><br>
		{END addSearch_anulado}
	</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>
