Javascript - open document by id (take ii)

Hi All

I have a database which can be viewed, both in Notes Client as well as in web client.

The database opens a frameset which has a 3 frames (topFrame, contentsFrame, documentFrame). What gets displayed in contents and document frames is controlled by buttons in topframe.

All buttons works fine in both the clients, except one button which has following code for web client. The TopFrame and DocumentFrame display correctly, but not the contentsframe.

@SetTargetFrame(“ContentsFrame”);

IPURL := @GetProfileField(“DB Profile”; “IndexPageURL”);

@URLOpen(IPURL);

@SetTargetFrame(“DocumentFrame”);

@Command([OpenPage];“Title Page”);

@SetTargetFrame(“TopFrame”);

@Command([OpenPage];“TalisManual Page Index”)

Interestingly, I CAN view the document on its own on web, but not when being set by formula buttons.

Any suggestions - anyone?

TIA

Alpna