<%
Dim myarr
For i = 0 To 100
Randomize
no = Int((1000-1+1)*Rnd+1)
For j = 0 To i
If no <> myarr(j) And no <> "" Then
j = j + 1
Else
Exit For
End If
myarr(i) = no
Next
If i = 21 Then
Exit For
End If
Next
%>
do while iLen>0
randomize(10000)
n=int(rnd*10000+1)
if instr(str,"|"&cstr(n)&"|")<>0 then Response.Write "="
str=str & "|" &cstr(n)&"|"
Response.Write cstr(n) &"<br>"
iLen=iLen-1