I guess that was my other question. The way I did it worked but it seemed redunant. I had the java script in the page, then 2 register scripts in the code behind.
I had no reason to put the javascript in the page other than to idenity the javascript file. I experimented trying several different ways and this is the first way I found that worked. If you know another way without the redundancy I would love to hear it. I assume you were talking about an include statement something like the one below.

<!--#INCLUDE virtual="jsscript.js"-->

Could you give me an example? All of my code is posted