Can anyone tell me how to make a web doc launch a URL automatically without a user clicking a link

I have a computed URL, I can turn it into a link but it would be better to just load the URL (it’s a URL to a file attached to anither doc)

like

http://server/db/AllByDocID/ID/$file/AttachmentName

Subject: Can anyone tell me how to make a web doc launch a URL automatically without a user clicking a link

I believe one way would be to add it as JS to the OnLoad event:

location.href = “url”

Subject: Almost perfect - one more bit of info needed

Anastasia,Your tip worked. I tried

location.href = “http://www.lotus.com

and it worked first go.

However, I am hopeless at JavaScript and tried this (the url is computed into a field called LaunchURL - I tried agues that it might be this, but it didn’t work, can you help please.

location.href = Document.LaunchURL

Subject: RE: Almost perfect - one more bit of info needed

Read thishttp://www.codestore.net/store.nsf/unid/DOMM-4QA864?OpenDocument