<div class="searchOptions bottomPanelBorder" {$srchOpt_attrs}>
	
	<!-- Search panel content -->
	<div class="srchCritTop" style="display: none;">
		Critério:&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}Qualquer{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}>Adicionar 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_nome}
			<a href="#" id="addSearchControl_nome" class="addSearchControl" {$addSearchControl_nome_attrs}>Nome</a><br>
		{END addSearch_nome}
		{BEGIN addSearch_nome_regional}
			<a href="#" id="addSearchControl_nome_regional" class="addSearchControl" {$addSearchControl_nome_regional_attrs}>Nome Regional</a><br>
		{END addSearch_nome_regional}
		{BEGIN addSearch_estado}
			<a href="#" id="addSearchControl_estado" class="addSearchControl" {$addSearchControl_estado_attrs}>Estado</a><br>
		{END addSearch_estado}
		{BEGIN addSearch_cidade}
			<a href="#" id="addSearchControl_cidade" class="addSearchControl" {$addSearchControl_cidade_attrs}>Cidade</a><br>
		{END addSearch_cidade}
		{BEGIN addSearch_tipo}
			<a href="#" id="addSearchControl_tipo" class="addSearchControl" {$addSearchControl_tipo_attrs}>Tipo</a><br>
		{END addSearch_tipo}
		{BEGIN addSearch_data_inicio}
			<a href="#" id="addSearchControl_data_inicio" class="addSearchControl" {$addSearchControl_data_inicio_attrs}>Data Inicio</a><br>
		{END addSearch_data_inicio}
		{BEGIN addSearch_observacao}
			<a href="#" id="addSearchControl_observacao" class="addSearchControl" {$addSearchControl_observacao_attrs}>Observacao</a><br>
		{END addSearch_observacao}
		{BEGIN addSearch_prepara_para}
			<a href="#" id="addSearchControl_prepara_para" class="addSearchControl" {$addSearchControl_prepara_para_attrs}>Prepara Para</a><br>
		{END addSearch_prepara_para}
		{BEGIN addSearch_funciona_em}
			<a href="#" id="addSearchControl_funciona_em" class="addSearchControl" {$addSearchControl_funciona_em_attrs}>Funciona Em</a><br>
		{END addSearch_funciona_em}
		{BEGIN addSearch_ativo}
			<a href="#" id="addSearchControl_ativo" class="addSearchControl" {$addSearchControl_ativo_attrs}>Ativo</a><br>
		{END addSearch_ativo}
		{BEGIN addSearch_motivo}
			<a href="#" id="addSearchControl_motivo" class="addSearchControl" {$addSearchControl_motivo_attrs}>Motivo</a><br>
		{END addSearch_motivo}
		{BEGIN addSearch_responsavel}
			<a href="#" id="addSearchControl_responsavel" class="addSearchControl" {$addSearchControl_responsavel_attrs}>Responsavel</a><br>
		{END addSearch_responsavel}
	</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>
