OK, that's easy
use something like this:
<script language=jscript src="java\mycode.js"></script>
blah blah blah
<script language=jscript src="java\bodycode.js"></script>
the *.js files should be avaialable as text files on your web, and they contain pure java code. just java code, no html!
this works exactly as if you have put the contents of the file between the <script></script> tags.
: : i couldnt understand what you want exactly.. could you rephrase that?