rem:  for(var x = 0; x < 3; x++){  c[x] = parseInt( b[x] + ( (a[x] - b[x]) * weight) ); } return c; 
add: return dojo.map(dojo._toArray(b), function(x, i){ return parseInt(x + ((a[i] - x) * weight)); }); 
context: dojo.blendColors = function(a, b, weight){	// summary: 	//		blend colors a and b with weight	//		from -1 to +1, 0 being a 50/50 blend	if(typeof a == "string"){ a = dojo.extractRgb(a); }	if(typeof b == "string"){ b = dojo.extractRgb(b); }	if(a["_cache"]){ a = a._cache; }	if(b["_cache"]){ b = b._cache; }	weight = Math.min(Math.max(-1, (weight||0)), 1);	// alex: this interface blows.	// map -1 to 1 to the range 0 to 1	weight = (weight + 1)/2;		var c = [];	// var stop = (1000*weight);	for(var x = 0; x < 3; x++){		// console.debug(b[x] + ((a[x] - b[x]) * weight));		c[x] = parseInt( b[x] + ( (a[x] - b[x]) * weight) );	}	return c;}
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/6ce16c7691f25b82376b486f72c24d3794ac80c0/Color.js/buggy/_base/Color.js