Im guesing you mean when some one right clicks but if you mean when some one clicks on something and the window closes thats the script there (oh and replace hello with the image or whatever):
<html>
<head>
<title>hello</title>
<script language=javascript>
function closewindow()
{
close()
}
__________________ Drew Gauderman
ASP - MSSQL Coder / Buisness Owner / Coder for Hire!
MSN-ICQ-AIM-YIM in Profile http://www.iportalx.net an easy ASP portal system.