var hex = "0123456789abcdef"; color = color.toLowerCase(); if( color.indexOf("rgb") == 0 ) { var matches = color.match(/rgba*\((\d+), *(\d+), *(\d+)/i); var ret = matches.splice(1, 3); return ret; } else { var colors = dojo.gfx.color.hex2rgb(color); if(colors) { return colors; } else {  return dojo.gfx.color.named[color] || [255, 255, 255]; } } 
var hex = "0123456789abcdef"; color = color.toLowerCase(); if( color.indexOf("rgb") == 0 ) { var matches = color.match(/rgba*\((\d+), *(\d+), *(\d+)/i); var ret = matches.splice(1, 3); return ret; } else { var colors = dojo.gfx.color.hex2rgb(color); if(colors) { return colors; } else {  return dojo.gfx.color.named[color] || [255, 255, 255]; } } 
dojo.gfx.color.extractRGB = function(color) {	var hex = "0123456789abcdef";	color = color.toLowerCase();	if( color.indexOf("rgb") == 0 ) {		var matches = color.match(/rgba*\((\d+), *(\d+), *(\d+)/i);		var ret = matches.splice(1, 3);		return ret;	} else {		var colors = dojo.gfx.color.hex2rgb(color);		if(colors) {			return colors;		} else {			// named color (how many do we support?)			return dojo.gfx.color.named[color] || [255, 255, 255];		}	}}
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