Image block fix for issue #1201. Adds back onState image swap

Adds back onState image swap.
There's no interface direct to the img tag to add mouseover and mouseout events, so I've added a unique class based on block ID and use it for a jquery mouseover/out event handler.