Is there a reason you aren't simply storing plain JavaScript in cpy.js? Also do you have <p> tags in your cpy.js file? You may also want to look at the header() method from the CGI docs.
Update: You should benefit from reading the links in this post.
Martin
In reply to Re: Use dynamic stuff in CGI
by marto
in thread Use dynamic stuff in CGI
by roc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |