<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_iddet_venta}
			<a href="#" id="addSearchControl_iddet_venta" class="addSearchControl" {$addSearchControl_iddet_venta_attrs}>Iddet Venta</a><br>
		{END addSearch_iddet_venta}
		{BEGIN addSearch_idventa}
			<a href="#" id="addSearchControl_idventa" class="addSearchControl" {$addSearchControl_idventa_attrs}>Idventa</a><br>
		{END addSearch_idventa}
		{BEGIN addSearch_idarticulo}
			<a href="#" id="addSearchControl_idarticulo" class="addSearchControl" {$addSearchControl_idarticulo_attrs}>Artículo</a><br>
		{END addSearch_idarticulo}
		{BEGIN addSearch_costo_unidad}
			<a href="#" id="addSearchControl_costo_unidad" class="addSearchControl" {$addSearchControl_costo_unidad_attrs}>Costo Unidad</a><br>
		{END addSearch_costo_unidad}
		{BEGIN addSearch_costo_total}
			<a href="#" id="addSearchControl_costo_total" class="addSearchControl" {$addSearchControl_costo_total_attrs}>Costo Total</a><br>
		{END addSearch_costo_total}
		{BEGIN addSearch_precio}
			<a href="#" id="addSearchControl_precio" class="addSearchControl" {$addSearchControl_precio_attrs}>Precio</a><br>
		{END addSearch_precio}
		{BEGIN addSearch_cantidad}
			<a href="#" id="addSearchControl_cantidad" class="addSearchControl" {$addSearchControl_cantidad_attrs}>Cantidad</a><br>
		{END addSearch_cantidad}
		{BEGIN addSearch_importe}
			<a href="#" id="addSearchControl_importe" class="addSearchControl" {$addSearchControl_importe_attrs}>Importe</a><br>
		{END addSearch_importe}
		{BEGIN addSearch_subtotal}
			<a href="#" id="addSearchControl_subtotal" class="addSearchControl" {$addSearchControl_subtotal_attrs}>Subtotal</a><br>
		{END addSearch_subtotal}
		{BEGIN addSearch_descuento}
			<a href="#" id="addSearchControl_descuento" class="addSearchControl" {$addSearchControl_descuento_attrs}>Descuento</a><br>
		{END addSearch_descuento}
		{BEGIN addSearch_ganancia}
			<a href="#" id="addSearchControl_ganancia" class="addSearchControl" {$addSearchControl_ganancia_attrs}>Ganancia</a><br>
		{END addSearch_ganancia}
		{BEGIN addSearch_anulada}
			<a href="#" id="addSearchControl_anulada" class="addSearchControl" {$addSearchControl_anulada_attrs}>Anulada</a><br>
		{END addSearch_anulada}
		{BEGIN addSearch_fecha}
			<a href="#" id="addSearchControl_fecha" class="addSearchControl" {$addSearchControl_fecha_attrs}>Fecha</a><br>
		{END addSearch_fecha}
		{BEGIN addSearch_nombre}
			<a href="#" id="addSearchControl_nombre" class="addSearchControl" {$addSearchControl_nombre_attrs}>Nombre</a><br>
		{END addSearch_nombre}
	</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>
