1:
Response.Write("<script language=JavaScript> window.open('','_parent',''); window.close(); </script>");