rem: var y = (event.clientY - getTargetY(event)) * 2; 
add: var y = (event.clientY - getTargetY(event) + scroll) * 2; 
context: function colsel_click(event, prefix, h, s, v, in_bar, in_cross){  var x = (event.clientX - getTargetX(event)) * 2;  var y = (event.clientY - getTargetY(event)) * 2;  //  Kludge to get correct coordinates. Only needed in MSIE browsers for  //  unknown reasons.  if (isIE4) {    x -= 4;    y -= 4;  }    if (x < 0) x = 0;  if (x > 255) x = 255;  if (y < 0) y = 0;  if (y > 255) y = 255;  if (in_cross) {    if (in_cross == "x") {      v = 255 - y;    } else if (in_cross == "y") {      h = x;    }  } else if (in_bar) {    s = 255 - y;  } else {    h = x;    v = 255 - y;  }  colsel_update(prefix, h, s, v, 1);  return new Array(h, s, v);}
meta: 2059	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2059/367a9dd67e1d0dcbf1d222cbb09833e9d28441f8/ColorSelector.js/clean/server/modules/tags/javascript_support/scripts/ColorSelector.js