4 my (@out, $i, $n, $line);
6 push(@out, "Content-type: text/html\n");
8 push(@out, "<html>\n");
9 push(@out, " <head>\n");
10 push(@out, " <script>\n");
12 push(@out, "function foo() {\n");
13 push(@out, " var q;\n");
14 $n = int($ENV{'QUERY_STRING'});
15 $line = " q = 0; q = 1; q = 2; q = 3; q = 4; q = 5; q = 6; q = 7; q = 8; q = 9;\n";
16 for ($i = 0; $i < $n; $i++) {
21 push(@out, " </script>\n");
22 push(@out, " </head>\n");
23 push(@out, " <body onload='parent._iframeLoaded();'>\n");
25 push(@out, " </body>\n");
26 push(@out, "</html>\n");