<table id="miniclic" onkeydown="javascript:tab_pressed(event)" onclick="javascript:focusin_input(event)" border='0' cellspacing='0' cellpadding='0' >
<thead>
<tr>
<th><img id="imgallcheck" alt="ckbox" src="img/uck.gif" onclick="javascript:check('allcheck');checkAll();" /><input id="allcheck"  type="checkbox" style="display:none;"/></th>
{ section name=i loop=$headers }
<th {if $headers[i].display neq "1"} style="display:none;" {/if}><input id="{$headers[i].id}" size="{$headers[i].size}" name="{$headers[i].id}" value="{$headers[i].text}"{ if $headers[i].style eq "1"} style="color:red"{ /if} onfocus="this.value='';" /><a href="javascript:order('{$headers[i].id}','{$headers[i].order}');"><img id="img{$headers[i].id}" alt="img" src="img/{$headers[i].imgorder}.gif" /></a></th>
{ /section }
</tr>
</thead>

