This is a really nice snippet.
I altered this snippet a little so it would work with my auth script, which cross checks the votes to the users accounts.