Star Rating plug-in

Star Rating plug-in

I found various star rating plug-ins for jQuery but none that behaved exactly the way I wanted. I decided to give it a shot at writing a jQuery plug-in. This is what I came up with.