(function(){"use strict";var n=["transitionend","animationstart","animationend","animationiteration"];var i=["TransitionEnd","AnimationStart","AnimationEnd","AnimationIteration"];var a=["","webkit","moz","o","msie"];function t(t){var e=t.$;if(!e){return}var r,o=a.length,v,m=n.length;for(v=0;v<m;v++){var s=n[v];var d=i[v];for(r=0;r<o;r++){var f=a[r];if(f&&!u8.browser[f]){continue}var u=f+s;if("on"+u in t){if(f){u=f+d;e.event.special[s]={bindType:u,delegateType:u}}break}}}}u8.Base._Window.extend("animation",t)})();