Element.implement({supportStyle:function(a){var b=this.style[a];return !!(b||b=="")},supportVendorStyle:function(a){var b=null;return this.supportStyle(a)?a:["webkit","Moz","O","ms"].some(function(c){b=c+a.capitalize();return this.supportStyle(b)},this)?b:null},rotate90ccw:function(){var a=this.supportVendorStyle("transform");var b="rotate(-90deg)";if(Browser.ie&&Browser.version<9){a="filter";b="progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"}this.setStyle(a,b);return this},hoverColor:function(a){this.store("hover:color:a",this.getStyle("color"));this.store("hover:color:b",a);this.set("tween",{duration:150});this.addEvents({mouseenter:function(){this.tween("color",this.retrieve("hover:color:b"))},mouseleave:function(){this.tween("color",this.retrieve("hover:color:a"))}});return this}});Class.refactor(Fx,{step:function(){this.previous.apply(this,arguments);this.fireEvent("step")}});
