If the window has not been opened by another window using the JavaScript
window.open() method, you need to set the "opener" property of the window
prior to calling "window.close()" or the user will be prompted. Example:
<a href="window.opener=self;window.close()">Close Window</a>
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.