Turning knob effect?

Im doing a site for a recording studio I want to make a turning knob effect which turns left and right depending on the position of the mouse.
basically the turning knob would rotate in place while the user navigates the site.

what script do I put on the instance?