Jquery tools overlay , i can not close page with javascript

Jquery tools overlay , i can not close page with javascript

Hi

I use this code ... http://jquerytools.org/demos/overlay/external.html

But i can not close page with ajax code. When i click "X" image page is closed, but i want to make this action with javascript.

I try to close external-content.htm in external-content.htm.

$(".contentWrap").hide("slow") code is close page content,
but it not close all page .