Thanks for the reply, but that page doesnt help. Those any many other sites on using javascript in WordPress say the way to do it is to include something like the following:
<script type=”text/javascript” src=”/scripts/emailpage.js”></script>
When that is precisely my problem – the src=”/scripts/emailpage.js” is being stripped out.