OnClick event for whole page except a div
<p>I'm working on an own combobox control for ASP.Net which should behave like a selectbox, I'm using a textbox, a button and a div as a selectbox replacement. It works fine and looks like this <a href="http://www.indiwa.de/technik/screenshots/combobox%5F20090921.gif" rel="nofollow">Image</a>:</p>

<p>My problem now is the Selectbox close behaviour: when clicking anywhere outside the opened selectbox it should close.<br>
So I need something like an onClick event for the whole page which should only fire when my div is open. Any suggest how to do that?</p>
