<%
longueur = len(session("nbre"))
SELECT CASE longueur
CASE 1
for i =1 to 5
%>

<%
next
for i =1 to longueur
numero=mid(session("nbre"),i,1)
%>

<%next
CASE 2
for i =1 to 4
%>

<%
next
for i =1 to longueur
numero=mid(session("nbre"),i,1)
%>

<%next
CASE 3
for i =1 to 3
%>

<%
next
for i =1 to longueur
numero=mid(session("nbre"),i,1)
%>

<%next
CASE 4
for i =1 to 2
%>

<%
next
for i =1 to longueur
numero=mid(session("nbre"),i,1)
%>

<%next
CASE 5%>

<%for i =1 to longueur
numero=mid(session("nbre"),i,1)
%>

<%next
CASE 6
for i =1 to longueur
numero=mid(session("nbre"),i,1)
%>