Consider the following:
Use this function, it will test for the existence of the correct method.
function disabledEventPropagation(event) { if (event.stopPropagation){ event.stopPropagation(); } else if(window.event){ window.event.cancelBubble=true; } }