I have implemented a star rating system on this site: tshirt-town.com that is based on the code available here and here. Please note that this is premium content and costs a minimal amount to purchase.
There are also various jQuery plugins that you could try and integrate but I found the premium content above the easiest for me to work with and well worth the small investment.