How does one code a popup window that will load up without any borders so it seemlessly blends with the larger background window.....Or....

How can I trap a window into another window of a browser so the smaller window will not fall behind the larger window....and.....

How does one code a window close. I am intending on closing a window automatically after a period of time.

These code can be either java script or html, any takers?