I think that will work. Right now I have this to return the URL of the page the client is on:

Code:
function getURL()
{
     var CurURL = location.href
     alert(CurURL)
}
I need to be able to call that from HTML and have it return a value. So if you way will work, perfect. I have to work on it a bit. Thanks, Jeremy