<% if session("refreshcount")= "" then session("refreshcount") = 1 end if if cint(session("refreshcount")) mod 8 = 1 then session("refreshcount")= session("refreshcount")+1 %> <% elseif cint(session("refreshcount")) mod 8 = 2 then session("refreshcount")= session("refreshcount")+1 %> <% elseif cint(session("refreshcount")) mod 8 = 3 then session("refreshcount")= session("refreshcount")+1 %> <% elseif cint(session("refreshcount")) mod 8 = 4 then session("refreshcount")= session("refreshcount")+1 %> <% elseif cint(session("refreshcount")) mod 8 = 5 then session("refreshcount")= session("refreshcount")+1 %> <% elseif cint(session("refreshcount")) mod 8 = 6 then session("refreshcount")= session("refreshcount")+1 %> <% elseif cint(session("refreshcount")) mod 8 = 7 then session("refreshcount")= session("refreshcount")+1 %> <% elseif cint(session("refreshcount")) mod 8 = 0 then session("refreshcount")= session("refreshcount")+1 %> <% end if %>