var _before = dojox.fx._getStyleSnapshot(compute); 
var _before = dojox.fx._getStyleSnapshot(cs); 
dojox.fx._getCalculatedStyleChanges = function(/*dojox.fx._arg.StyleArgs*/ args, /*Boolean*/addClass){	// summary: calclate the difference in style properties between two states	// description:	//	calculate and normalize(?) the differences between two states	//	of a node (args.node) by quickly adding or removing a class, and	//	iterateing over the results of dojox.fx._getStyleSnapshot()	//	// addClass: 	// 	true to calculate what adding a class would do, 	// 	false to calculate what removing the class would do	var node = (args.node = dojo.byId(args.node)); 	var compute = dojo.getComputedStyle(node);	// take our snapShots	var _before = dojox.fx._getStyleSnapshot(compute);	dojo[(addClass ? "addClass" : "removeClass")](node,args.cssClass); 	var _after = dojox.fx._getStyleSnapshot(compute);	dojo[(addClass ? "removeClass" : "addClass")](node,args.cssClass); 	var calculated = {};	var i = 0;	dojo.forEach(dojox.fx._allowedProperties,function(prop){		if(_before[i] != _after[i]){			// FIXME: the static unit: px is not good, either. need to parse unit from computed style?			calculated[prop] = { end: parseInt(_after[i]) /* start: parseInt(_before[i]), unit: 'px' */ }; 		} 		i++;	});	return calculated; };
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/95fbd5c1c96ba26717639535e4a4f11096b8be7b/style.js/clean/fx/style.js