Hi:

Can anyone tell me how/if I can pass a variable to a JavaScript routine in an HTML document? That is, I want to have a link that is something like this:

http://www.domain.com/page.html?pic=1000

And then within "page.html" I would have a JavaScript routine that grabs the value of "pic" (in this case '1000') and displays the image file "1000.jpg" (or something like that).

I know this must be easy. I know how to do it in PHP, but PHP isn't available to me in this case. And obviously I don't know JavaScript all that well. Thanks!