YUI.add("anim-color",function(i,o){var l=Number;i.Anim.getUpdatedColorValue=function(o,r,e,t,n){return o=i.Color.re_RGB.exec(i.Color.toRGB(o)),r=i.Color.re_RGB.exec(i.Color.toRGB(r)),(!o||o.length<3||!r||r.length<3)&&i.error("invalid from or to passed to color behavior"),"rgb("+[Math.floor(n(e,l(o[1]),l(r[1])-l(o[1]),t)),Math.floor(n(e,l(o[2]),l(r[2])-l(o[2]),t)),Math.floor(n(e,l(o[3]),l(r[3])-l(o[3]),t))].join(", ")+")"},i.Anim.behaviors.color={set:function(o,r,e,t,n,l,a){o._node.setStyle(r,i.Anim.getUpdatedColorValue(e,t,n,l,a))},get:function(o,r){r=o._node.getComputedStyle(r);return r="transparent"===r?"rgb(255, 255, 255)":r}},i.each(["backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],function(o){i.Anim.behaviors[o]=i.Anim.behaviors.color})},"patched-v3.18.3",{requires:["anim-base"]});