This example uses shows how to gather some data from the user and then how to insert the dynamic response data with a DHTML-style popup window. More examples are in the parent directory
PopupWindow code has been taken from dhtmlgoodies.com. The JS code used here is available under the Terms of use of dhtmldooies.com, i.e. LGPL.
Look at the directory that includes the popup code and see the associated JS code we used to integrate this.