Hi, i have a form with several input fields (color codes) that are linked to accompanying div boxes (color swatches).

I have put an example of the script here http://startbron.nl/colorpicker/sample.html. I have also uploaded the entire script here http://www.startbron.nl/colorpicker.rar

The swatches in the example are supposed to render the color that is in the accompanying input field.

How can i do this?