//ie8-eventlistener.js -[1,]||(function(){ //为window对象添加 addEventListener=function(n,f){ if("on"+n in this.constructor.prototype) this.attachEvent("on"+n,f); else { var o=this.customEvents=this.customEvents||{}; n in o?o[n].push(f):(o[n]=[f]); }; }; removeEventListener=function(n,f){ if("on"+n in this.constructor.prototype) this.detachEvent("on"+n,f); else { var s=this.customEvents&&this.customEvents[n]; if(s)for(var i=0;i