Directly call the doclose method.
Try and navigate away from this page. Under IE, this should
also
call the doclose method.