you cannot lock out any of your code, but the closest thing is you can link to your javascripts:
<script language=javascript src=something.js></script>
just copy everything inside your script tags now, and put in a .js file (with notepad). then link as shown
theEclipse
eclipse_web@hotmail.com
robacarp.webjump.com
**-Trying to build a documentation of a Javascript DOM, crossbrowser, of course. E-mail me if you know of any little known events and/or methods, etc.