Before I go and taint myself again, I suppose I should ask if it's even possible. I need a way of knowing what the anchor link is in a URL. AKA, I need to do this:

My link = http://www.somesite.gov/thenameofthefile.html#anchor23
my anchor = anchor23

Is this possible with Javascript? It's not with any server side language, because browsers don't pass that part of the URL to the server.

Thanks