You have chosen to sponsor your bid up to a maximum amount of .
1. Read out CSS class of "like" in like box/button.
2. Define fan status of current CSS class (fan / no Fan / not logged in to facebook).
3. Return status as a function result
For further questions, just write a comment.