rem: EchoApp.Color.prototype.adjust = function(r, g, b) { var colorInt = parseInt(this.value.substring(1), 16); var red = parseInt(colorInt / 0x10000) + r; if (red < 0) { red = 0; } else if (red > 255) { red = 255; } var green = parseInt(colorInt / 0x100) % 0x100 + g; if (green < 0) { green = 0; } else if (green > 255) { green = 255; } var blue = colorInt % 0x100 + b; if (blue < 0) { blue = 0; } else if (blue > 255) { blue = 255; } return new EchoApp.Color("#" + (red < 16 ? "0" : "") + red.toString(16) + (green < 16 ? "0" : "") + green.toString(16) + (blue < 16 ? "0" : "") + blue.toString(16)); }; 
add: adjust: function(r, g, b) { var colorInt = parseInt(this.value.substring(1), 16); var red = parseInt(colorInt / 0x10000) + r; if (red < 0) { red = 0; } else if (red > 255) { red = 255; } var green = parseInt(colorInt / 0x100) % 0x100 + g; if (green < 0) { green = 0; } else if (green > 255) { green = 255; } var blue = colorInt % 0x100 + b; if (blue < 0) { blue = 0; } else if (blue > 255) { blue = 255; } return new EchoApp.Color("#" + (red < 16 ? "0" : "") + red.toString(16) + (green < 16 ? "0" : "") + green.toString(16) + (blue < 16 ? "0" : "") + blue.toString(16)); }, 
context: EchoApp.Color.prototype.adjust = function(r, g, b) {    var colorInt = parseInt(this.value.substring(1), 16);    var red = parseInt(colorInt / 0x10000) + r;    if (red < 0) {        red = 0;    } else if (red > 255) {        red = 255;    }    var green = parseInt(colorInt / 0x100) % 0x100 + g;    if (green < 0) {        green = 0;    } else if (green > 255) {        green = 255;    }    var blue = colorInt % 0x100 + b;    if (blue < 0) {        blue = 0;    } else if (blue > 255) {        blue = 255;    }    return new EchoApp.Color("#"            + (red < 16 ? "0" : "") + red.toString(16)            + (green < 16 ? "0" : "") + green.toString(16)            + (blue < 16 ? "0" : "") + blue.toString(16)); };
meta: 600	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/600/4705113f80e2c9e4d43ad240349e3193f4caf648/Application.js/clean/src/webcontainer/java/nextapp/echo/webcontainer/resource/js/Application.js