You know how you can link to a file in Script ie <script src=js.asp> </script> In that file, how can I escape the JS code....eg I might have alert ("Hello world") but then I might want to use some ASP script to get another value eg <% txt=now %> alert (txt); Can I do that somehow? Didn't seem to work when I tried it. Andrew