lebmobile,
Yes it does affect crawlers, hidden content cannot be seen by any crawler.
(except you allow guests to see hidden content, what will result in any not logged in user seeing hidden content, too)
And yes as mentioned in first post, it has an ajax-ability , so no refresh is necessary (if enabled)
david, then please, change the code to the one linked
here
and it'll run smoothly.
It adds another sql query, but it's failure safe
'sid