rem: function(){ return Number(dojo.style(fArgs.node, "opacity")); } : fArgs.start; 
add: (function(){ var _makeFadeable = function(node){ if(dojo.isIE){   if(node.style.zoom.length == 0 && dojo.style(node, "zoom") == "normal"){    node.style.zoom = "1";  }   if(node.style.width.length == 0 && dojo.style(node, "width") == "auto"){ node.style.width = "auto"; } } }  dojo._fade = function(/*Object*/ args){    if(typeof args.end == "undefined"){ throw new Error("dojo._fade needs an end value"); } args.node = dojo.byId(args.node); var fArgs = dojo.mixin({ properties: {} }, args); var props = fArgs.properties.opacity = {}; props.start = (typeof fArgs.start == "undefined") ? function(){ return Number(dojo.style(fArgs.node, "opacity")); } : fArgs.start; props.end = fArgs.end;  var anim = dojo.animateProperty(fArgs); dojo.connect(anim, "beforeBegin", null, function(){ _makeFadeable(fArgs.node); });  return anim; }  dojo.fadeIn = function(/*Object*/ args){     return dojo._fade(dojo.mixin({ end: 1 }, args)); }  dojo.fadeOut = function(/*Object*/ args){     return dojo._fade(dojo.mixin({ end: 0 }, args)); }  if(dojo.isKhtml && !dojo.isSafari){     dojo._defaultEasing = function(/*Decimal?*/ n){  return parseFloat("0.5")+((Math.sin((n+parseFloat("1.5")) * Math.PI))/2); } }else{ dojo._defaultEasing = function(/*Decimal?*/ n){ return 0.5+((Math.sin((n+1.5) * Math.PI))/2); } }  dojo.animateProperty = function(/*Object*/ args){   args.node = dojo.byId(args.node); if (!args.easing){ args.easing = dojo._defaultEasing; }  var PropLine = function(properties){ this._properties = properties; for (var p in properties){ var prop = properties[p];  if(dojo.isFunction(prop.start)){ prop.start = prop.start(prop); } if(dojo.isFunction(prop.end)){ prop.end = prop.end(prop); } /* if(prop.start instanceof dojo.Color){  prop.startRgb = prop.start.toRgb(); prop.endRgb = prop.end.toRgb(); } */ } this.getValue = function(n){ var ret = {}; for(var p in this._properties){ var prop = this._properties[p]; var value = null; if(prop.start instanceof dojo.Color){ value = dojo.rgb2hex(dojo.blendColors(prop.end, prop.start, n));  }else if(!dojo.isArray(prop.start)){ value = ((prop.end - prop.start) * n) + prop.start + (p != "opacity" ? prop.units||"px" : ""); } ret[p] = value; } return ret; } }  var anim = new dojo._Animation(args); dojo.connect(anim, "beforeBegin", anim, function(){ var pm = this.properties; for(var p in pm){ var prop = pm[p];  if(dojo.isFunction(prop.start)){ prop.start = prop.start(); } if(dojo.isFunction(prop.end)){ prop.end = prop.end(); }  var isColor = (p.toLowerCase().indexOf("color") >= 0); if(typeof prop.end == "undefined"){ prop.end = dojo.style(this.node, p); }else if(typeof prop.start == "undefined"){ prop.start = dojo.style(this.node, p); }  if(isColor){  prop.start = new dojo.Color(prop.start); prop.end = new dojo.Color(prop.end); }else{ prop.start = (p == "opacity") ? Number(prop.start) : parseInt(prop.start); }   } this.curve = new PropLine(pm); }); dojo.connect(anim, "onAnimate", anim, function(propValues){  for(var s in propValues){  dojo.style(this.node, s, propValues[s]);  }  });  return anim; } })(); 
context: 			function(){ return Number(dojo.style(fArgs.node, "opacity")); } : fArgs.start;
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/d515db7e63631cecbd4ddf52a88a72df87b88c7b/fx.js/buggy/_base/fx.js