<% If iPageCount>1 then 'If Page count is more then 1 show page navigation %>
<% If iPageCurrent > 1 Then %> " border="0"> <% End If For ICount=1 To iPageCount If ICount=iPageCurrent Then %> <%= ICount %> <% Else %> <%=ICount%> <% End If Next If iPageCurrent < iPageCount Then %> " border="0"> <% End If %>
<% end if 'end of page navigation %>