Here i give the Example..
//distinguish between IE's explicit event object (window.event) and Firefox's implicit.
var evtobj=window.event? event : e
Hope it Helps!
Thanks and Regards,