Hi,
Sorry if sb is disturbed about a JS question here, but these forums are full of them an with responses.
So nick, if so disturbing is to you that novice users make this sort of "errors", that you need to use your time to remember to every one that make the same thing than me, ...
I dont need to buy a book about JS because there is enough resources on the internet for my needs.
This time I had this problem, searched a lot on google and not found anything that fits, that is why I asked, but anyway, perhaps I did not explain properly in the begining, what I would like to know was if it is possible to trap when the user clicks on the X button, not clicking in a CLOSEME link.
Anyway, thank you very much for your attention Olaf, your proposal is very nice and i will use it on other situations.