<%
max = request.querystring("max")
if max = "" then 
   max = 5 
else 
   if max > 50 then 
      max = 9
   else
      max = int(max)
   end if
end if
for i =  1  to max
   for j = 1 to max - i : response.write( " " ) :  next
   for j = 1 to i : response.write( j ) : next
   response.write("
") next %>