You can insert JavaScript into your template files but you will need to wrap literal tags around the javascript code. For example:
This same method will work for including Google Adsense, Yahoo Publisher, and most other advertising programs.
Still have a question? Post it on the Help Forums.