rem: if(this.slice(0,1) == '#') { if(this.length==4) for(var i=1;i<4;i++) color += (this.charAt(i) + this.charAt(i)).toLowerCase(); if(this.length==7) color = this.toLowerCase(); 
add: if (this.slice(0,1) == '#') { if (this.length==4) for(var i=1;i<4;i++) color += (this.charAt(i) + this.charAt(i)).toLowerCase(); if (this.length==7) color = this.toLowerCase(); 
context: String.prototype.parseColor = function() {    var color = '#';  if(this.slice(0,4) == 'rgb(') {      var cols = this.slice(4,this.length-1).split(',');      var i=0; do { color += parseInt(cols[i]).toColorPart() } while (++i<3);    } else {      if(this.slice(0,1) == '#') {        if(this.length==4) for(var i=1;i<4;i++) color += (this.charAt(i) + this.charAt(i)).toLowerCase();        if(this.length==7) color = this.toLowerCase();      }    }    return(color.length==7 ? color : (arguments[0] || this));  }
meta: 9100	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9100/2d4247a14ff4ce25ad80cbc65b787dfde7ddb16e/effects.js/buggy/typo3/contrib/scriptaculous/effects.js