Alternating Row Colors:
Using an array and two variables along with the MOD function
you can create many various effects for alternating row colors in your tables.
The Key is the MOD function, this creates an incrementing loop through the array.
Here's how easy it is; (The two hilighted sections are where the action takes place.)
Dim colorset, i, numcolors
'/--- This is your array of colors to use. -------------\
colorset = split("White,LightGrey,SkyBlue,Yellow",",")
numcolors = ubound(colorset)+1
Response.Write "<TR style=""background:" & colorset(i mod numcolors) & ";"">"
'[-- Add your column data in here --]
i = i + 1 '<-- Increment the counter
Of course the array could be what ever information you want to cycle through, like class names from a stylesheet, or...