{if $donav}
<table width="100%"  border="0" cellspacing="0" cellpadding="1">
  <tr>
    <td class="outer_boxborder"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="box_innerbody">{$pages}</td>
        </tr>
      </table></td>
  </tr>
</table>
{/if}