You could try this - http://www.equanimity.nl/utils/responsewriter.asp
It makes it easier.
Response.write("<script type=""text/javascript"" language=""JavaScript"" src=""http://www.mysite.org/y/stats_js.asp""> </script>" & vbNewline)
You could add it around line 262 (roughly, I have mods on my forums) just after the copyright notice.