<%# @count_gap refers to the minimum number of sibling pages to show %> <% @count_gap = 2; @i = 1; @total_pages = total_pages; %>