<%
max = request.querystring("max")
if max = "" then  max = 5 
if max > 9 then max = 9 else max = int(max)
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("*")
   for j = 1 to i : response.write( i - j + 1 ) : next
   response.write("
") next %>