fires when the user selects a new color in the palette
myColorPicker.attachEvent("onChange",function(color){ //your code here });