<% 'The const's are For the colors and the Flag is needed Const sPrimaryColor = "WHITE" Const sSecondaryColor = "YELLOW" Dim bColorFlag Dim lCounter 'This function does all the work For you. Function LineColor() bColorFlag = Not bColorFlag If bColorFlag Then LineColor = sPrimaryColor Else LineColor = sSecondaryColor End If End Function %> Alternating Line Colors


<% For lCounter = 1 To 10 Response.Write("" & vbCrLf) Response.Write("" & vbCrLf) Response.Write("" & vbCrLf) Next %>
" & lCounter & "