<table width="300">
<%
for i=1 to 10
if (i mod 2)= 0 then
response.write "<tr bgcolor=red><td><br></td></tr>"
else
response.write "<tr bgcolor=yellow><td><br></td></tr>"
end if
next
%>
</table>
Dim thecolor : thecolor = "#FFA0A0"
response.write "<table>"
for ...
response.write "<tr><td bordercolor=""" & thecolor & """></td></tr>"
if thecolor = "#FFA0A0" then
thecolor = "#FF0000"
else
thecolor = "#FFA0A0"
end if
next
response.write "</table>"