Re: Can't insert javascript
I think I responded to the other page, but I didn't see a mention of your using the JS plugin.
How I bypass these "security features" is to include a *.js file with your functions in the templates/head.tpl file. I suggest naming the js file the same as the page that it's going to be used for, or the process that it's functions are primarily used for.