function EventHandler(arg1, arg2,...) { var evt = window.event || function(cx) { if(typeof Event!='undefined' && cx){ for(var ii=0; ii<cx.arguments.length; ii++) if(cx.arguments[ii] instanceof Event) return cx.arguments[ii]; return arguments.callee(cx.caller); } return null; }(arguments.callee.caller); evt.preventDefault=evt.preventDefault||function(){evt.returnValue = false;}; evt.stopPropagation=evt.stopPropagation||function(){evt.cancelBubble = false;}; }