<!-- Content bookend ******************************************************* -->
<table class="content_bookend">
{% if "title" in Script.Request %}
  <tr>
    <td colspan="3" class="bookend_header_title">
    {% if Content|length > 0 %}
      Showing items
      {{ Script.Request.offset.value + 1 }}
      - 
      {{ Content|length }}
      that
    {% else %}
      No items
    {% endif %}
      match <strong>&quot;{{ Script.Request.title.value }}&quot;</strong>
    </td> 
  </tr>
{% endif %}
  <tr>  
    <td class="browse_button">
    {% if (Script.Request.limit.value > 0) and (Script.Request.offset.value > Script.Request.limit.value) %}
        <a href="{{ Script.url(channel=Channel.name, view=View.name, title=Script.Request.title.value, full=Script.Request.full.value, offset=(Script.Request.offset.value - Script.Request.limit.value), limit=Script.request.limit.value) }}" title="Go to the previous page">&lt; Previous</a>
    {% else %}
      &nbsp;
    {% endif %}
    </td>
    <td class="bookend_header">
    {% if Content|length > 0 %}
      <strong>Page</strong>
    {% if (Script.Request.limit.value > 0) and (Script.Request.offset.value > 0) %}
      {{ (Script.Request.offset.value / Script.Request.limit.value)|iround }} of
      {{ (Content|length / Script.Request.limit.value)|iround }}
    {% else %}
      1 of 1
    {% endif %}
    {% if "title" in Script.Request %}
      |
      <strong>Show</strong>
      {% if Script.Request.limit.value == 25 %}
        25,
      {% else %}
        <a href="{{ Site.url(channel=Channel.name, view=View.name, title=Script.Request.title.value, full=Script.Request.full.value, offset=Script.Request.offset.value, limit=25) }}" title="Show 25 results at a time">25</a>, 
      {% endif %}
      {% if Script.Request.limit.value == 50 %}
        50,
      {% else %}
        <a href="{{ Site.url(channel=Channel.name, view=View.name, title=Script.Request.title.value, full=Script.Request.full.value, offset=Script.Request.offset.value, limit=50) }}" title="Show 50 results at a time">50</a>, 
      {% endif %}
      or
      {% if Script.Request.limit.value == 100 %}
        100
      {% else %}
        <a href="{{ Site.url(channel=Channel.name, view=View.name, title=Script.Request.title.value, full=Script.Request.full.value, offset=Script.Request.offset.value, limit=100) }}" title="Show 100 results at a time">100</a> 
      {% endif %}                    
        items per page 
    {% endif %}  
  {% endif %} 
    </td>
    <td class="browse_button">
    {% if (Script.Request.limit.value > 0) and ((Content|length - Script.Request.offset.value) > Script.Request.limit.value) %}
      <a href="{{ Script.url(channel=Channel.name, view=View.name, title=Script.Request.title.value, full=Script.Request.full.value, offset=(Script.Request.offset.value + Script.Request.limit.value), limit=Script.Request.limit.value) }}" title="Go to the next page">Next ></a>
    {% else %}
      &nbsp;
    {% endif %}
    </td>
  </tr>
</table>

