set up to capture events for the entire window and then check the target to see if the source was from your layer, if not, then do whatever.
here's an event finder script:
if (window.event) { which = window.event.srcElement;
} else if (e.target) { which = e.target;
} else { return;
}
----------------------------
Aeon of Darkness MUD - Free Online Roleplaying Game
http://aeonofdarkness.com