Is the script too big, or want to hide your script code?
You can put your script in a .js file. You should note that people will still be able to see your script if they view the .js file. But your code in your HTML-page will not be so heavy. You do it like this:
You put: <script language="JavaScript" src="yourname.js">
</script>
in the body where you want the script to function.
Then you put your JavaScript code into Notepad (do NOT include: <script language="JavaScript"> or
</script>) and save it as a normal text file like "yourname.js", and then you upload the file.