Hello again Jim!
Found a much easier and clean way to do the thing. Not JavaScript but two ways that works fine:
...and...
The first way for one place defined buttons, and the second one for being able to change all icons in the class. The only difference I've seen in appearance is that in the first way the image will "be pressed" when clicking the button. The second image will "standstill".
So easy...
/Sebastian.