Normally, you can link a JavaScript file like this:
<script type="text/javascript" src="/YourScript.
js"></script>
However, this file also includes HTML so you'll need to add it to the <body> of the page. If you're using ASP, your best bet is to use a server side include.
Move your code to a new .asp file and then include it where you need it like this:
where YourInclude.asp is your file with the code and Includes is a sub folder in your site.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.