Best way to spin an object in both directions?

Hi Guyz, This is an old question, but i can’t find any info on it!

I need to spin an image (circular image) clockwise if the user mouse overs from the right and anti-clockiwise from the left.

Any help will be most appreciated!