Javascript and open form

Here is my question: Is it possible to open a note form within a javascript that opens a html page?

I created a button with a hotspot to open a html page. I also need the button to open and close a lotus notes form. The reason I have a script in my query open that tracks who is opening documents.

Any suggestion?

Subject: RE: Javascript and open form

If you’re collecting statistics about who reads a web page on your own server, it’s much easier to do this on the server. You can’t control the user’s environment well enough to guarantee that you’ll be able to start up the Notes client if it’s not running, and open a form – what if they refuse to enter their password? The client may also already be running and have a modal dialog open; that precludes you opening new windows.