I am very novice at asp. Here is my code:
response.write(\"
Ad an IF statement, based on your counter.
for each x in rs.Fields counter = counter + 1 if(counter = 1) then response.write "var CC" & counter & "=" & x.value & ";" end if next