<%
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 * 2 - 1 : response.write( i ) : next
response.write("
")
next
%>