rem: var _54b=function(_54c){ this._properties=_54c; this.diffs=new Array(_54c.length); dojo.lang.forEach(_54c,function(prop,i){ 
add: var _559=function(_55a){ this._properties=_55a; this.diffs=new Array(_55a.length); dojo.lang.forEach(_55a,function(prop,i){ 
context: dojo.lfx.html.propertyAnimation=function(_537,_538,_539,_53a,_53b){_537=dojo.lfx.html._byId(_537);var _53c={"propertyMap":_538,"nodes":_537,"duration":_539,"easing":_53a||dojo.lfx.easeDefault};var _53d=function(args){if(args.nodes.length==1){var pm=args.propertyMap;if(!dojo.lang.isArray(args.propertyMap)){var parr=[];for(var _541 in pm){pm[_541].property=_541;parr.push(pm[_541]);}pm=args.propertyMap=parr;}dojo.lang.forEach(pm,function(prop){if(dj_undef("start",prop)){if(prop.property!="opacity"){prop.start=parseInt(dojo.html.getComputedStyle(args.nodes[0],prop.property));}else{prop.start=dojo.html.getOpacity(args.nodes[0]);}}});}};var _543=function(_544){var _545=[];dojo.lang.forEach(_544,function(c){_545.push(Math.round(c));});return _545;};var _547=function(n,_549){n=dojo.byId(n);if(!n||!n.style){return;}for(var s in _549){if(s=="opacity"){dojo.html.setOpacity(n,_549[s]);}else{n.style[s]=_549[s];}}};var _54b=function(_54c){this._properties=_54c;this.diffs=new Array(_54c.length);dojo.lang.forEach(_54c,function(prop,i){if(dojo.lang.isFunction(prop.start)){prop.start=prop.start(prop,i);}if(dojo.lang.isFunction(prop.end)){prop.end=prop.end(prop,i);}if(dojo.lang.isArray(prop.start)){this.diffs[i]=null;}else{if(prop.start instanceof dojo.gfx.color.Color){prop.startRgb=prop.start.toRgb();prop.endRgb=prop.end.toRgb();}else{this.diffs[i]=prop.end-prop.start;}}},this);this.getValue=function(n){var ret={};dojo.lang.forEach(this._properties,function(prop,i){var _553=null;if(dojo.lang.isArray(prop.start)){}else{if(prop.start instanceof dojo.gfx.color.Color){_553=(prop.units||"rgb")+"(";for(var j=0;j<prop.startRgb.length;j++){_553+=Math.round(((prop.endRgb[j]-prop.startRgb[j])*n)+prop.startRgb[j])+(j<prop.startRgb.length-1?",":"");}_553+=")";}else{_553=((this.diffs[i])*n)+prop.start+(prop.property!="opacity"?prop.units||"px":"");}}ret[dojo.html.toCamelCase(prop.property)]=_553;},this);return ret;};};var anim=new dojo.lfx.Animation({beforeBegin:function(){_53d(_53c);anim.curve=new _54b(_53c.propertyMap);},onAnimate:function(_556){dojo.lang.forEach(_53c.nodes,function(node){_547(node,_556);});}},_53c.duration,null,_53c.easing);if(_53b){for(var x in _53b){if(dojo.lang.isFunction(_53b[x])){anim.connect(x,anim,_53b[x]);}}}return anim;};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dojo.js/buggy/www/resources/dojo-ajax/dojo.js