Problem with javascript library

Hi

I want to use a nice menu in javascript for my intranet

For this, I use a javascript library as follow :

I added the library in the database javascript library

In my form i wrote (pass-thru html)

the weird thing is, when I open the form itself (ie http://server/db.nsf/name?openform) it works just fine and the menu is there

but when I open a document of this form (ie http://server/db.nsf/xxxx?opendocument) the menu doesn’t appear

i’m quite at a loss there

did I do something wrong?

could someone help me please?

Subject: Problem with javascript library

Tuan,

one idea: view the source of the document, after its loaded and see if the is being loaded

Subject: RE: Problem with javascript library

yep, it’s there all rightI tried to put it both in the head and the body and it’s all the same

it works fine on a page

it works with the form

but it doesn’t work with the documents of this form…