Here we go...
<div id="parent" onClick="imYourBoss()">
<div id="child" onClick='imEmployee()'>
in above example you can stop your parent by using following code :
alert("Im your BOSS");
alert("Yeah I stop my boss from accessing me :)");
using stopPropagation technique we can prevent any parent handlers from being notified of the event.
stay tune for latest stuff :)