var events=[];function getTarget(a){return a.target}function getPageXY(a){return[a.pageX,a.pageY]}function preventDefault(a){a.preventDefault()}function keyCode(a){return a.keyCode}function addEvent(c,b,a){var d=dojo.connect(c,name,a);events.push({el:c,type:b,handle:d})}function removeEvent(c,b,a){dojo.forEach(events,function(f,d){if(f&&f.el==c&&f.type==b){dojo.disconnect(f.handle);events[d]=null}})};