var anim = dojo.lfx.propertyAnimation(node, { "background-color": { start: rgb, end: endRgb } }, duration, easing, { "beforeBegin": function(){ if(bgImage){ node.style.backgroundImage = "none"; } node.style.backgroundColor = "rgb(" + rgb.toRgb().join(",") + ")"; }, "onEnd": function(){ if(bgImage){ node.style.backgroundImage = bgImage; } if(wasTransparent){ node.style.backgroundColor = "transparent"; } if(callback){ callback(node, anim); } } } ); 
var anim = dojo.lfx.propertyAnimation(node, { "background-color": { start: rgb, end: endRgb } }, duration, easing, { "beforeBegin": function(){ if(bgImage){ node.style.backgroundImage = "none"; } node.style.backgroundColor = "rgb(" + rgb.toRgb().join(",") + ")"; }, "onEnd": function(){ if(bgImage){ node.style.backgroundImage = bgImage; } if(wasTransparent){ node.style.backgroundColor = "transparent"; } if(callback){ callback(node, anim); } } } ); 
dojo.lfx.html.highlight = function(/*DOMNode[]*/ nodes,								   /*dojo.gfx.color.Color*/ startColor,								   /*int?*/ duration,								   /*Function?*/ easing,								   /*Function?*/ callback){	// summary: Returns an animation that will set the background color	//			of "nodes" to startColor and transition it to "nodes"	//			original color.	// startColor: Color to transition from.	// duration: Duration of the animation in milliseconds.	// easing: An easing function.	// callback: Function to run at the end of the animation.	nodes = dojo.lfx.html._byId(nodes);	var anims = [];	dojo.lang.forEach(nodes, function(node){		var color = dojo.html.getBackgroundColor(node);		var bg = dojo.html.getStyle(node, "background-color").toLowerCase();		var bgImage = dojo.html.getStyle(node, "background-image");		var wasTransparent = (bg == "transparent" || bg == "rgba(0, 0, 0, 0)");		while(color.length > 3) { color.pop(); }		var rgb = new dojo.gfx.color.Color(startColor);		var endRgb = new dojo.gfx.color.Color(color);		var anim = dojo.lfx.propertyAnimation(node, 			{ "background-color": { start: rgb, end: endRgb } }, 			duration, 			easing,			{				"beforeBegin": function(){ 					if(bgImage){						node.style.backgroundImage = "none";					}					node.style.backgroundColor = "rgb(" + rgb.toRgb().join(",") + ")";				},				"onEnd": function(){ 					if(bgImage){						node.style.backgroundImage = bgImage;					}					if(wasTransparent){						node.style.backgroundColor = "transparent";					}					if(callback){						callback(node, anim);					}				}			}		);		anims.push(anim);	});	return dojo.lfx.combine(anims); // dojo.lfx.Combine}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js