/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.2.2
*/

YAHOO.util.Anim=function(el,attributes,duration,method) {if(el){this.init(el,attributes,duration,method);}};YAHOO.util.Anim.prototype={toString:function() {var el=this.getEl();var id=el.id||el.tagName;return("Anim "+id);},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(attr,start,end) {return this.method(this.currentFrame,start,end-start,this.totalFrames);},setAttribute:function(attr,val,unit) {if(this.patterns.noNegatives.test(attr)){val=(val>0)?val:0;}
YAHOO.util.Dom.setStyle(this.getEl(),attr,val+unit);},getAttribute:function(attr) {var el=this.getEl();var val=YAHOO.util.Dom.getStyle(el,attr);if(val!=='auto'&&!this.patterns.offsetUnit.test(val)){return parseFloat(val);}
var a=this.patterns.offsetAttribute.exec(attr)||[];var pos=!!(a[3]);var box=!!(a[2]);if(box||(YAHOO.util.Dom.getStyle(el,'position')=='absolute'&&pos)){val= _proxy_jslib_handle(el, ('offset'+a[0].charAt(0).toUpperCase()+a[0].substr(1)), 0, 0);}else{val=0;}
return val;},getDefaultUnit:function(attr) {if(this.patterns.defaultUnit.test(attr)){return'px';}
return'';},setRuntimeAttribute:function(attr) {var start;var end;var attributes=this.attributes; _proxy_jslib_assign('', this.runtimeAttributes, (attr), '=', ({}));var isset=function(prop) {return(typeof prop!=='undefined');};if(!isset( _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('to'), 0, 0))&&!isset( _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('by'), 0, 0))){return false;}
start=(isset( _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('from'), 0, 0)))? _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('from'), 0, 0):this.getAttribute(attr);if(isset( _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('to'), 0, 0))){end= _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('to'), 0, 0);}else if(isset( _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('by'), 0, 0))){if(start.constructor==Array){end=[];for(var i=0,len=start.length;i<len;(i= _proxy_jslib_assign_rval('++', 'i', '', '', i))){ _proxy_jslib_assign('', end, (i), '=', ( _proxy_jslib_handle(start, (i), 0, 0)+ _proxy_jslib_handle( _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('by'), 0, 0), (i), 0, 0)));}}else{end=start+ _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('by'), 0, 0);}}
 _proxy_jslib_handle(this.runtimeAttributes, (attr), 0, 0).start=start; _proxy_jslib_handle(this.runtimeAttributes, (attr), 0, 0).end=end; _proxy_jslib_handle(this.runtimeAttributes, (attr), 0, 0).unit=(isset( _proxy_jslib_handle(attributes, (attr), 0, 0).unit))? _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('unit'), 0, 0):this.getDefaultUnit(attr);},init:function(el,attributes,duration,method) {var isAnimated=false;var startTime=null;var actualFrames=0;el=YAHOO.util.Dom.get(el);this.attributes=attributes||{};this.duration=duration||1;this.method=method||YAHOO.util.Easing.easeNone;this.useSeconds=true;this.currentFrame=0;this.totalFrames=YAHOO.util.AnimMgr.fps;this.getEl=function() {return el;};this.isAnimated=function() {return isAnimated;};this.getStartTime=function() {return startTime;};this.runtimeAttributes={};this.animate=function() {if(this.isAnimated()){return false;}
this.currentFrame=0;this.totalFrames=(this.useSeconds)?Math.ceil(YAHOO.util.AnimMgr.fps*this.duration):this.duration;YAHOO.util.AnimMgr.registerElement(this);};this.stop=function(finish) {if(finish){this.currentFrame=this.totalFrames;this._onTween.fire();}
YAHOO.util.AnimMgr.stop(this);};var onStart=function() {this.onStart.fire();this.runtimeAttributes={};for(var attr in this.attributes){this.setRuntimeAttribute(attr);}
isAnimated=true;actualFrames=0;startTime=new (Date)();};var onTween=function() {var data={duration:new (Date)()-this.getStartTime(),currentFrame:this.currentFrame}; _proxy_jslib_assign('', data, 'toString', '=', (function() {return('duration: '+data.duration+', currentFrame: '+data.currentFrame);}));this.onTween.fire(data);var runtimeAttributes=this.runtimeAttributes;for(var attr in runtimeAttributes){ _proxy_jslib_handle(this, 'setAttribute', '', 1, 0)(attr,this.doMethod(attr, _proxy_jslib_handle(runtimeAttributes, (attr), 0, 0).start, _proxy_jslib_handle(runtimeAttributes, (attr), 0, 0).end), _proxy_jslib_handle(runtimeAttributes, (attr), 0, 0).unit);}
actualFrames+=1;};var onComplete=function() {var actual_duration=(new (Date)()-startTime)/1000;var data={duration:actual_duration,frames:actualFrames,fps:actualFrames/actual_duration}; _proxy_jslib_assign('', data, 'toString', '=', (function() {return('duration: '+data.duration+', frames: '+ _proxy_jslib_handle(data, 'frames', '', 0, 0)+', fps: '+data.fps);}));isAnimated=false;actualFrames=0;this.onComplete.fire(data);};this._onStart=new (YAHOO.util.CustomEvent)('_start',this,true);this.onStart=new (YAHOO.util.CustomEvent)('start',this);this.onTween=new (YAHOO.util.CustomEvent)('tween',this);this._onTween=new (YAHOO.util.CustomEvent)('_tween',this,true);this.onComplete=new (YAHOO.util.CustomEvent)('complete',this);this._onComplete=new (YAHOO.util.CustomEvent)('_complete',this,true);this._onStart.subscribe(onStart);this._onTween.subscribe(onTween);this._onComplete.subscribe(onComplete);}};YAHOO.util.AnimMgr=new function(){var thread=null;var queue=[];var tweenCount=0;this.fps=1000;this.delay=1;this.registerElement=function(tween) { _proxy_jslib_assign('', queue, (queue.length), '=', (tween));tweenCount+=1;tween._onStart.fire();this.start();};this.unRegister=function(tween,index) {tween._onComplete.fire();index=index||getIndex(tween);if(index!=-1){queue.splice(index,1);}
tweenCount-=1;if(tweenCount<=0){this.stop();}};this.start=function() {if(thread===null){thread= _proxy_jslib_handle(null, 'setInterval', setInterval, 1, 0)(this.run,this.delay);}};this.stop=function(tween) {if(!tween){clearInterval(thread);for(var i=0,len=queue.length;i<len;(i= _proxy_jslib_assign_rval('++', 'i', '', '', i))){if(queue[0].isAnimated()){this.unRegister(queue[0],0);}}
queue=[];thread=null;tweenCount=0;}
else{this.unRegister(tween);}};this.run=function() {for(var i=0,len=queue.length;i<len;(i= _proxy_jslib_assign_rval('++', 'i', '', '', i))){var tween= _proxy_jslib_handle(queue, (i), 0, 0);if(!tween||!tween.isAnimated()){continue;}
if(tween.currentFrame<tween.totalFrames||tween.totalFrames===null)
{tween.currentFrame+=1;if(tween.useSeconds){correctFrame(tween);}
tween._onTween.fire();}
else{YAHOO.util.AnimMgr.stop(tween,i);}}};var getIndex=function(anim) {for(var i=0,len=queue.length;i<len;(i= _proxy_jslib_assign_rval('++', 'i', '', '', i))){if( _proxy_jslib_handle(queue, (i), 0, 0)==anim){return i;}}
return-1;};var correctFrame=function(tween) {var frames=tween.totalFrames;var frame=tween.currentFrame;var expected=(tween.currentFrame*tween.duration*1000/tween.totalFrames);var elapsed=(new (Date)()-tween.getStartTime());var tweak=0;if(elapsed<tween.duration*1000){tweak=Math.round((elapsed/expected-1)*tween.currentFrame);}else{tweak= _proxy_jslib_handle(null, 'frames', frames, 0, 0)-(frame+1);}
if(tweak>0&&isFinite(tweak)){if(tween.currentFrame+tweak>= _proxy_jslib_handle(null, 'frames', frames, 0, 0)){tweak= _proxy_jslib_handle(null, 'frames', frames, 0, 0)-(frame+1);}
tween.currentFrame+=tweak;}};};YAHOO.util.Bezier=new function(){this.getPosition=function(points,t) {var n=points.length;var tmp=[];for(var i=0;i<n;(i= _proxy_jslib_assign_rval('++', 'i', '', '', i))){ _proxy_jslib_assign('', tmp, (i), '=', ([ _proxy_jslib_handle(points, (i), 0, 0)[0], _proxy_jslib_handle(points, (i), 0, 0)[1]]));}
for(var j=1;j<n;(j= _proxy_jslib_assign_rval('++', 'j', '', '', j))){for(i=0;i<n-j;(i= _proxy_jslib_assign_rval('++', 'i', '', '', i))){ _proxy_jslib_handle(tmp, (i), 0, 0)[0]=(1-t)* _proxy_jslib_handle(tmp, (i), 0, 0)[0]+t* _proxy_jslib_handle(tmp, (parseInt(i+1,10)), 0, 0)[0]; _proxy_jslib_handle(tmp, (i), 0, 0)[1]=(1-t)* _proxy_jslib_handle(tmp, (i), 0, 0)[1]+t* _proxy_jslib_handle(tmp, (parseInt(i+1,10)), 0, 0)[1];}}
return[tmp[0][0],tmp[0][1]];};};(function() {YAHOO.util.ColorAnim=function(el,attributes,duration,method) {YAHOO.util.ColorAnim.superclass.constructor.call(this,el,attributes,duration,method);};YAHOO.extend(YAHOO.util.ColorAnim,YAHOO.util.Anim);var Y=YAHOO.util;var superclass=Y.ColorAnim.superclass;var proto=Y.ColorAnim.prototype; _proxy_jslib_assign('', proto, 'toString', '=', (function() {var el=this.getEl();var id=el.id||el.tagName;return("ColorAnim "+id);}));proto.patterns.color=/color$/i;proto.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;proto.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;proto.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;proto.patterns.transparent=/^transparent|rgba\(0, 0, 0, 0\)$/;proto.parseColor=function(s) {if(s.length==3){return s;}
var c=this.patterns.hex.exec(s);if(c&&c.length==4){return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)];}
c=this.patterns.rgb.exec(s);if(c&&c.length==4){return[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)];}
c=this.patterns.hex3.exec(s);if(c&&c.length==4){return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)];}
return null;};proto.getAttribute=function(attr) {var el=this.getEl();if(this.patterns.color.test(attr)){var val=YAHOO.util.Dom.getStyle(el,attr);if(this.patterns.transparent.test(val)){var parent=el.parentNode;val=Y.Dom.getStyle( _proxy_jslib_handle(null, 'parent', parent, 0, 0),attr);while( _proxy_jslib_handle(null, 'parent', parent, 0, 0)&&this.patterns.transparent.test(val)){ parent= _proxy_jslib_assign_rval('', 'parent', '=', ( _proxy_jslib_handle(null, 'parent', parent, 0, 0).parentNode), parent);val=Y.Dom.getStyle( _proxy_jslib_handle(null, 'parent', parent, 0, 0),attr);if( _proxy_jslib_handle(null, 'parent', parent, 0, 0).tagName.toUpperCase()=='HTML'){val='#fff';}}}}else{val=superclass.getAttribute.call(this,attr);}
return val;};proto.doMethod=function(attr,start,end) {var val;if(this.patterns.color.test(attr)){val=[];for(var i=0,len=start.length;i<len;(i= _proxy_jslib_assign_rval('++', 'i', '', '', i))){ _proxy_jslib_assign('', val, (i), '=', (superclass.doMethod.call(this,attr, _proxy_jslib_handle(start, (i), 0, 0), _proxy_jslib_handle(end, (i), 0, 0))));}
val='rgb('+Math.floor(val[0])+','+Math.floor(val[1])+','+Math.floor(val[2])+')';}
else{val=superclass.doMethod.call(this,attr,start,end);}
return val;};proto.setRuntimeAttribute=function(attr) {superclass.setRuntimeAttribute.call(this,attr);if(this.patterns.color.test(attr)){var attributes=this.attributes;var start=this.parseColor( _proxy_jslib_handle(this.runtimeAttributes, (attr), 0, 0).start);var end=this.parseColor( _proxy_jslib_handle(this.runtimeAttributes, (attr), 0, 0).end);if(typeof  _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('to'), 0, 0)==='undefined'&&typeof  _proxy_jslib_handle( _proxy_jslib_handle(attributes, (attr), 0, 0), ('by'), 0, 0)!=='undefined'){end=this.parseColor( _proxy_jslib_handle(attributes, (attr), 0, 0).by);for(var i=0,len=start.length;i<len;(i= _proxy_jslib_assign_rval('++', 'i', '', '', i))){ _proxy_jslib_assign('', end, (i), '=', ( _proxy_jslib_handle(start, (i), 0, 0)+ _proxy_jslib_handle(end, (i), 0, 0)));}}
 _proxy_jslib_handle(this.runtimeAttributes, (attr), 0, 0).start=start; _proxy_jslib_handle(this.runtimeAttributes, (attr), 0, 0).end=end;}};})();YAHOO.util.Easing={easeNone:function(t,b,c,d) {return c*t/d+b;},easeIn:function(t,b,c,d) {return c*(t/=d)*t+b;},easeOut:function(t,b,c,d) {return-c*(t/=d)*(t-2)+b;},easeBoth:function(t,b,c,d) {if((t/=d/2)<1){return c/2*t*t+b;}
return-c/2*(((t= _proxy_jslib_assign_rval('--', 't', '', '', t)))*(t-2)-1)+b;},easeInStrong:function(t,b,c,d) {return c*(t/=d)*t*t*t+b;},easeOutStrong:function(t,b,c,d) {return-c*((t=t/d-1)*t*t*t-1)+b;},easeBothStrong:function(t,b,c,d) {if((t/=d/2)<1){return c/2*t*t*t*t+b;}
return-c/2*((t-=2)*t*t*t-2)+b;},elasticIn:function(t,b,c,d,a,p) {if(t==0){return b;}
if((t/=d)==1){return b+c;}
if(!p){p=d*.3;}
if(!a||a<Math.abs(c)){a=c;var s=p/4;}
else{var s=p/(2*Math.PI)*Math.asin(c/a);}
return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;},elasticOut:function(t,b,c,d,a,p) {if(t==0){return b;}
if((t/=d)==1){return b+c;}
if(!p){p=d*.3;}
if(!a||a<Math.abs(c)){a=c;var s=p/4;}
else{var s=p/(2*Math.PI)*Math.asin(c/a);}
return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b;},elasticBoth:function(t,b,c,d,a,p) {if(t==0){return b;}
if((t/=d/2)==2){return b+c;}
if(!p){p=d*(.3*1.5);}
if(!a||a<Math.abs(c)){a=c;var s=p/4;}
else{var s=p/(2*Math.PI)*Math.asin(c/a);}
if(t<1){return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;}
return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b;},backIn:function(t,b,c,d,s) {if(typeof s=='undefined'){s=1.70158;}
return c*(t/=d)*t*((s+1)*t-s)+b;},backOut:function(t,b,c,d,s) {if(typeof s=='undefined'){s=1.70158;}
return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;},backBoth:function(t,b,c,d,s) {if(typeof s=='undefined'){s=1.70158;}
if((t/=d/2)<1){return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;}
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;},bounceIn:function(t,b,c,d) {return c-YAHOO.util.Easing.bounceOut(d-t,0,c,d)+b;},bounceOut:function(t,b,c,d) {if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b;}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b;}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b;}
return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b;},bounceBoth:function(t,b,c,d) {if(t<d/2){return YAHOO.util.Easing.bounceIn(t*2,0,c,d)*.5+b;}
return YAHOO.util.Easing.bounceOut(t*2-d,0,c,d)*.5+c*.5+b;}};(function() {YAHOO.util.Motion=function(el,attributes,duration,method) {if(el){YAHOO.util.Motion.superclass.constructor.call(this,el,attributes,duration,method);}};YAHOO.extend(YAHOO.util.Motion,YAHOO.util.ColorAnim);var Y=YAHOO.util;var superclass=Y.Motion.superclass;var proto=Y.Motion.prototype; _proxy_jslib_assign('', proto, 'toString', '=', (function() {var el=this.getEl();var id=el.id||el.tagName;return("Motion "+id);}));proto.patterns.points=/^points$/i; _proxy_jslib_assign('', proto, 'setAttribute', '=', (function(attr,val,unit) {if(this.patterns.points.test(attr)){unit=unit||'px'; _proxy_jslib_handle(superclass, 'setAttribute', '', 0, 0).call(this,'left',val[0],unit); _proxy_jslib_handle(superclass, 'setAttribute', '', 0, 0).call(this,'top',val[1],unit);}else{ _proxy_jslib_handle(superclass, 'setAttribute', '', 0, 0).call(this,attr,val,unit);}}));proto.getAttribute=function(attr) {if(this.patterns.points.test(attr)){var val=[superclass.getAttribute.call(this,'left'),superclass.getAttribute.call(this,'top')];}else{val=superclass.getAttribute.call(this,attr);}
return val;};proto.doMethod=function(attr,start,end) {var val=null;if(this.patterns.points.test(attr)){var t=this.method(this.currentFrame,0,100,this.totalFrames)/100;val=Y.Bezier.getPosition( _proxy_jslib_handle(this.runtimeAttributes, (attr), 0, 0),t);}else{val=superclass.doMethod.call(this,attr,start,end);}
return val;};proto.setRuntimeAttribute=function(attr) {if(this.patterns.points.test(attr)){var el=this.getEl();var attributes=this.attributes;var start;var control= _proxy_jslib_handle( _proxy_jslib_handle(attributes, ('points'), 0, 0), ('control'), 0, 0)||[];var end;var i,len;if(control.length>0&&!(control[0]instanceof Array)){control=[control];}else{var tmp=[];for(i=0,len=control.length;i<len;(i= _proxy_jslib_assign_rval('++', 'i', '', '', i))){ _proxy_jslib_assign('', tmp, (i), '=', ( _proxy_jslib_handle(control, (i), 0, 0)));}
control=tmp;}
if(Y.Dom.getStyle(el,'position')=='static'){Y.Dom.setStyle(el,'position','relative');}
if(isset( _proxy_jslib_handle( _proxy_jslib_handle(attributes, ('points'), 0, 0), ('from'), 0, 0))){Y.Dom.setXY(el, _proxy_jslib_handle( _proxy_jslib_handle(attributes, ('points'), 0, 0), ('from'), 0, 0));}
else{Y.Dom.setXY(el,Y.Dom.getXY(el));}
start=this.getAttribute('points');if(isset( _proxy_jslib_handle( _proxy_jslib_handle(attributes, ('points'), 0, 0), ('to'), 0, 0))){end=translateValues.call(this, _proxy_jslib_handle( _proxy_jslib_handle(attributes, ('points'), 0, 0), ('to'), 0, 0),start);var pageXY=Y.Dom.getXY(this.getEl());for(i=0,len=control.length;i<len;(i= _proxy_jslib_assign_rval('++', 'i', '', '', i))){ _proxy_jslib_assign('', control, (i), '=', (translateValues.call(this, _proxy_jslib_handle(control, (i), 0, 0),start)));}}else if(isset( _proxy_jslib_handle( _proxy_jslib_handle(attributes, ('points'), 0, 0), ('by'), 0, 0))){end=[start[0]+ _proxy_jslib_handle( _proxy_jslib_handle(attributes, ('points'), 0, 0), ('by'), 0, 0)[0],start[1]+ _proxy_jslib_handle( _proxy_jslib_handle(attributes, ('points'), 0, 0), ('by'), 0, 0)[1]];for(i=0,len=control.length;i<len;(i= _proxy_jslib_assign_rval('++', 'i', '', '', i))){ _proxy_jslib_assign('', control, (i), '=', ([start[0]+ _proxy_jslib_handle(control, (i), 0, 0)[0],start[1]+ _proxy_jslib_handle(control, (i), 0, 0)[1]]));}}
 _proxy_jslib_assign('', this.runtimeAttributes, (attr), '=', ([start]));if(control.length>0){ _proxy_jslib_assign('', this.runtimeAttributes, (attr), '=', ( _proxy_jslib_handle(this.runtimeAttributes, (attr), 0, 0).concat(control)));}
 _proxy_jslib_assign('',  _proxy_jslib_handle(this.runtimeAttributes, (attr), 0, 0), ( _proxy_jslib_handle(this.runtimeAttributes, (attr), 0, 0).length), '=', (end));}
else{superclass.setRuntimeAttribute.call(this,attr);}};var translateValues=function(val,start) {var pageXY=Y.Dom.getXY(this.getEl());val=[val[0]-pageXY[0]+start[0],val[1]-pageXY[1]+start[1]];return val;};var isset=function(prop) {return(typeof prop!=='undefined');};})();(function() {YAHOO.util.Scroll=function(el,attributes,duration,method) {if(el){YAHOO.util.Scroll.superclass.constructor.call(this,el,attributes,duration,method);}};YAHOO.extend(YAHOO.util.Scroll,YAHOO.util.ColorAnim);var Y=YAHOO.util;var superclass=Y.Scroll.superclass;var proto=Y.Scroll.prototype; _proxy_jslib_assign('', proto, 'toString', '=', (function() {var el=this.getEl();var id=el.id||el.tagName;return("Scroll "+id);}));proto.doMethod=function(attr,start,end) {var val=null;if(attr=='scroll'){val=[this.method(this.currentFrame,start[0],end[0]-start[0],this.totalFrames),this.method(this.currentFrame,start[1],end[1]-start[1],this.totalFrames)];}else{val=superclass.doMethod.call(this,attr,start,end);}
return val;};proto.getAttribute=function(attr) {var val=null;var el=this.getEl();if(attr=='scroll'){val=[el.scrollLeft,el.scrollTop];}else{val=superclass.getAttribute.call(this,attr);}
return val;}; _proxy_jslib_assign('', proto, 'setAttribute', '=', (function(attr,val,unit) {var el=this.getEl();if(attr=='scroll'){el.scrollLeft=val[0];el.scrollTop=val[1];}else{ _proxy_jslib_handle(superclass, 'setAttribute', '', 0, 0).call(this,attr,val,unit);}}));})();YAHOO.register("animation",YAHOO.util.Anim,{version:"2.2.2",build:"204"}); ;
_proxy_jslib_flush_write_buffers() ;