            <th style="cursor:pointer;" onclick="document.getElementById(
                [% if $sort == "ID" %]
                    'sortorder').value='[% if $sortorder == "DESC" %]ASC[% else %]DESC[% /if %]'
                [% else %]
                    'sort').value='ID'
                [% /if %];submitForm2();">
            [% $user->gettext('Ticket-Nr.') %]
            [% if $sort == "ID" %]&nbsp;<img src="images/sort[% if $sortorder == "DESC" %]desc[% else %]asc[% /if %].gif" width="11" height="11" border="0" alt=""  />[% /if %]
        </th>