<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_cpf}
			<a href="#" id="addSearchControl_cpf" class="addSearchControl" {$addSearchControl_cpf_attrs}>Cpf</a><br>
		{END addSearch_cpf}
		{BEGIN addSearch_categoria}
			<a href="#" id="addSearchControl_categoria" class="addSearchControl" {$addSearchControl_categoria_attrs}>Categoria</a><br>
		{END addSearch_categoria}
		{BEGIN addSearch_idnucleo}
			<a href="#" id="addSearchControl_idnucleo" class="addSearchControl" {$addSearchControl_idnucleo_attrs}>Idnucleo</a><br>
		{END addSearch_idnucleo}
		{BEGIN addSearch_idregional}
			<a href="#" id="addSearchControl_idregional" class="addSearchControl" {$addSearchControl_idregional_attrs}>Idregional</a><br>
		{END addSearch_idregional}
		{BEGIN addSearch_mes}
			<a href="#" id="addSearchControl_mes" class="addSearchControl" {$addSearchControl_mes_attrs}>Mes</a><br>
		{END addSearch_mes}
		{BEGIN addSearch_ano}
			<a href="#" id="addSearchControl_ano" class="addSearchControl" {$addSearchControl_ano_attrs}>Ano</a><br>
		{END addSearch_ano}
		{BEGIN addSearch_dias_funcionamento}
			<a href="#" id="addSearchControl_dias_funcionamento" class="addSearchControl" {$addSearchControl_dias_funcionamento_attrs}>Dias Funcionamento</a><br>
		{END addSearch_dias_funcionamento}
		{BEGIN addSearch_presencas}
			<a href="#" id="addSearchControl_presencas" class="addSearchControl" {$addSearchControl_presencas_attrs}>Presencas</a><br>
		{END addSearch_presencas}
		{BEGIN addSearch_atividades_elaboradas}
			<a href="#" id="addSearchControl_atividades_elaboradas" class="addSearchControl" {$addSearchControl_atividades_elaboradas_attrs}>Atividades Elaboradas</a><br>
		{END addSearch_atividades_elaboradas}
		{BEGIN addSearch_atividades_realizadas}
			<a href="#" id="addSearchControl_atividades_realizadas" class="addSearchControl" {$addSearchControl_atividades_realizadas_attrs}>Atividades Realizadas</a><br>
		{END addSearch_atividades_realizadas}
		{BEGIN addSearch_acoes_afirmativas}
			<a href="#" id="addSearchControl_acoes_afirmativas" class="addSearchControl" {$addSearchControl_acoes_afirmativas_attrs}>Acoes Afirmativas</a><br>
		{END addSearch_acoes_afirmativas}
		{BEGIN addSearch_score}
			<a href="#" id="addSearchControl_score" class="addSearchControl" {$addSearchControl_score_attrs}>Score</a><br>
		{END addSearch_score}
		{BEGIN addSearch_operador}
			<a href="#" id="addSearchControl_operador" class="addSearchControl" {$addSearchControl_operador_attrs}>Operador</a><br>
		{END addSearch_operador}
		{BEGIN addSearch_data_insercao}
			<a href="#" id="addSearchControl_data_insercao" class="addSearchControl" {$addSearchControl_data_insercao_attrs}>Data Insercao</a><br>
		{END addSearch_data_insercao}
	</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>
