rem: var actualColor = RicoUtil.getElementsComputedStyle($(elem), "backgroundColor", "background-color"); 
add: var actualColor = RicoUtil.getElementsComputedStyle(OpenLayers.Util.getElement(elem), "backgroundColor", "background-color"); 
context: OpenLayers.Rico.Color.createColorFromBackground = function(elem) {   var actualColor = RicoUtil.getElementsComputedStyle($(elem), "backgroundColor", "background-color");   if ( actualColor == "transparent" && elem.parentNode )      return OpenLayers.Rico.Color.createColorFromBackground(elem.parentNode);   if ( actualColor == null )      return new OpenLayers.Rico.Color(255,255,255);   if ( actualColor.indexOf("rgb(") == 0 ) {      var colors = actualColor.substring(4, actualColor.length - 1 );      var colorArray = colors.split(",");      return new OpenLayers.Rico.Color( parseInt( colorArray[0] ),                            parseInt( colorArray[1] ),                            parseInt( colorArray[2] )  );   }   else if ( actualColor.indexOf("#") == 0 ) {      return OpenLayers.Rico.Color.createFromHex(actualColor);   }   else      return new OpenLayers.Rico.Color(255,255,255);}
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/c66f1ce3606d1437e5642fabaa0d9667368a1427/Color.js/clean/lib/Rico/Color.js