I think you can do something like this also...
Code:
<script language="JavaScript">
items = new Array(
<%
IntCount = 0
While NOT rs.EOF
Response.Write "'" & rs("record") & "'," 'Use singles inside doubles if item is type string
rs.MoveNext
Wend
%>
);
</script>
which is less code and generates less Javascript....
Not sure if the syntax is right but basically you are initalising the javascript array at the same time as declaring it.... I don't have my handy books here to check it out....