//eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('5(!0.1&&0.7){2.3.1=9(a,b,c){5(6.7)6.7(\'d\'+a,b)};e.1=2.3.1;0.1=2.3.1};5(!0.4&&0.8){2.3.4=9(a,b,c){5(6.8)6.8(\'d\'+a,b)};e.4=2.3.4;0.4=2.3.4};',15,15,'document|addEventListener|Object|prototype|removeEventListener|if|this|attachEvent|detachEvent|function||||on|window'.split('|'),0,{}))

var Compatibility = {
  For : {
    addEventListener : function(){
      var tags = ["INPUT","DIV"];
      
      if (!document.addEventListener && document.attachEvent){
        Object.prototype.addEventListener = function(eventName, func, capture){
          if(this.attachEvent)this.attachEvent('on' + eventName, func);
        };
        
        Object.prototype.removeEventListener = function(eventName, func, capture){
          if(this.detachEvent)this.detachEvent('on' + eventName, func);
        };
        
        window.addEventListener = Object.prototype.addEventListener;
        window.removeEventListener = Object.prototype.removeEventListener;
        
        document.addEventListener = Object.prototype.addEventListener;
        document.removeEventListener = Object.prototype.removeEventListener;
        
        window.addEventListener("load", function(){
          for (var i=0, l=document.all.length; i<l; i++){
            var tag = document.all[i];
            for(var j=0, jl=tags.length; j<jl; j++){
              if(tag.tagName && tag.tagName.toUpperCase()==tags[j].toUpperCase()){
                tag.addEventListener=Object.prototype.addEventListener;
                tag.removeEventListener = Object.prototype.removeEventListener;
              };
            };
          };
        }, true);
      };
    }
  }
};

Compatibility.For.addEventListener();