<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_categoria}
			<a href="#" id="addSearchControl_categoria" class="addSearchControl" {$addSearchControl_categoria_attrs}>Categoria</a><br>
		{END addSearch_categoria}
		{BEGIN addSearch_nome_nucleo}
			<a href="#" id="addSearchControl_nome_nucleo" class="addSearchControl" {$addSearchControl_nome_nucleo_attrs}>Nome Nucleo</a><br>
		{END addSearch_nome_nucleo}
		{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_nome}
			<a href="#" id="addSearchControl_nome" class="addSearchControl" {$addSearchControl_nome_attrs}>Nome</a><br>
		{END addSearch_nome}
		{BEGIN addSearch_cpf}
			<a href="#" id="addSearchControl_cpf" class="addSearchControl" {$addSearchControl_cpf_attrs}>Cpf</a><br>
		{END addSearch_cpf}
		{BEGIN addSearch_ano}
			<a href="#" id="addSearchControl_ano" class="addSearchControl" {$addSearchControl_ano_attrs}>Ano</a><br>
		{END addSearch_ano}
		{BEGIN addSearch_mes}
			<a href="#" id="addSearchControl_mes" class="addSearchControl" {$addSearchControl_mes_attrs}>Mes</a><br>
		{END addSearch_mes}
		{BEGIN addSearch_dias_abertura}
			<a href="#" id="addSearchControl_dias_abertura" class="addSearchControl" {$addSearchControl_dias_abertura_attrs}>Dias Abertura</a><br>
		{END addSearch_dias_abertura}
		{BEGIN addSearch_presencas}
			<a href="#" id="addSearchControl_presencas" class="addSearchControl" {$addSearchControl_presencas_attrs}>Presencas</a><br>
		{END addSearch_presencas}
	</div>
	
	<div class="controlsBlock">
		{BEGIN searchCtrlBlock}
		<div class="srchPanelRow" {$filterRow_attrs}>
			<div class="srchPanelCell">{$delCtrlButt}&nbsp;{$fLabel}:&nbsp;</div>
			<div class="srchPanelCell srchPanelCell2">{$searchtype} {$searchcontrol} {$searchcontrol1}</div>
		</div>
		{END searchCtrlBlock}
	</div>
		
	<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>
