Since I use PHP, not ASP, and I'm not particularly familiar with this, my response may not be very helpful, but I can at least give you an idea:
You should create a new javascript tag in your html then within that use ASP to generate some values.
Here's an example using PHP:
Code:
<script type="text/Javascript">
var myvar = '<?php print $myvar; ?>';
</script>
Then within all Javascripts operating on that page you can use 'myvar' to get the values.
Note that you could also do this directly such as printing a value from ASP into the setup for the script, but since that may be external or just complex to setup, this might be easier. Then once you have "myvar", just use that as the value in your script:
var somesetting = myvar;
Bookmarks