Yup, Statto, just move all the JavaScript out into an external file and reference it, as demonstrated in my example. Or, better yet, ditch the JavaScript (it’s less-than-ideal for this kind of purpose: JavaScript is for things that can only be meaningfully done client-side) and instead use a PHP or Perl script, or some similar server-side logic. I can help with an example of this if you wish.

Nice to meet you, Statto. All I’d heard about you so far was from JTA