<a href="#;" class="icon-infoBlue help"
	tooltip="
		{if $filterDet.type=="date"}
			{$_LANG.reportsGeneration.startReport.tpl.custFilters.date_info}
		{/if}
		{if $filterDet.type=="datetime"}
			{$_LANG.reportsGeneration.startReport.tpl.custFilters.time_info}
		{/if}
		{if $filterDet.type=="year"}
			{$_LANG.reportsGeneration.startReport.tpl.custFilters.year_info}
		{/if}
		{if $filterDet.type=="yearMonth"}
			{$_LANG.reportsGeneration.startReport.tpl.custFilters.yearMonth_info}
		{/if}
	"
></a>

{if ($filterDet.type=="date" and $filterDet.searchMode=='anniversary')}

	<select name="customFilters[{$column}][minAnniv_day]" size="1"
		onchange="if (this.value=='0') $('anniv_{$column}_minMonth').disabled=true;else $('anniv_{$column}_minMonth').disabled=false"
	>
		<option value="0" {if !$filterDet.minAnniv_day}selected="1"{/if}>-</option>
		{section name="day" loop=32 start=1 step=1}
			<option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$filterDet.minAnniv_day}selected="1"{/if}>{$smarty.section.day.index}</option>
		{/section}
	</select>

	<select id="anniv_{$column}_minMonth" name="customFilters[{$column}][minAnniv_month]" size="1" {if !$filterDet.minAnniv_day}disabled="1"{/if}>
		{section name="month" loop=13 start=1 step=1}
			<option value="{$smarty.section.month.index}" {if $smarty.section.month.index==$filterDet.minAnniv_month}selected="1"{/if}>{$_LANG.date.month.long[$smarty.section.month.index]}</option>
		{/section}
	</select>

	&nbsp; &raquo; &nbsp;

	<select name="customFilters[{$column}][maxAnniv_day]" size="1"
		 onchange="if (this.value=='0') $('anniv_{$column}_maxMonth').disabled=true; else $('anniv_{$column}_maxMonth').disabled=false;"
	>
		<option value="0" {if !$filterDet.maxAnniv_day}selected="1"{/if}>-</option>
		{section name="day" loop=32 start=1 step=1}
			<option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$filterDet.maxAnniv_day}selected="1"{/if}>{$smarty.section.day.index}</option>
		{/section}
	</select>

	<select id="anniv_{$column}_maxMonth" name="customFilters[{$column}][maxAnniv_month]" size="1" {if !$filterDet.maxAnniv_day}disabled="1"{/if}>
		{section name="month" loop=13 start=1 step=1}
			<option value="{$smarty.section.month.index}" {if $smarty.section.month.index==$filterDet.maxAnniv_month}selected="1"{/if}>{$_LANG.date.month.long[$smarty.section.month.index]}</option>
		{/section}
	</select>

{else}

	<input type="text" class="filterField_custom_date input-old-date1" id="customFilter_{$column}_startDate"
		name="customFilters[{$column}][startDate]" value="{$filterDet.startDate}"
		onBlur="dateValidation(this, '{$dateStandard}');"
		tooltip="{$_LANG.reportsGeneration.startReport.tpl.custFilters.date_min}"
	/>
	<img class="calendar" src="{$smarty.const.SMARTY_BLANKGIF}" id="customFilter_{$column}_startDateBtn" align="absmiddle" />
	<script> Calendar.setup({ldelim}inputField:"customFilter_{$column}_startDate", button:"customFilter_{$column}_startDateBtn", ifFormat:Date.displayFormat{rdelim}); </script>

	&nbsp; &raquo; &nbsp;

	<input type="text" class="filterField_custom_date input-old-date1"  id="customFilter_{$column}_endDate"
		name="customFilters[{$column}][endDate]" value="{$filterDet.endDate}"
		onBlur="dateValidation(this, '{$dateStandard}');"
		tooltip="{$_LANG.reportsGeneration.startReport.tpl.custFilters.date_max}"
	/>
	<img class="calendar" src="{$smarty.const.SMARTY_BLANKGIF}" id="customFilter_{$column}_endDateBtn" align="absmiddle" />
	<script> Calendar.setup({ldelim}inputField:"customFilter_{$column}_endDate", button:"customFilter_{$column}_endDateBtn", ifFormat:Date.displayFormat{rdelim}); </script>

{/if}