jQuery & SharePoint Groups

Can SPServices be used to perform if-then functionality using SharePoint UserGroups? e.g. users belonging to an "Administration" group can 'see this....' users belonging to a "Visitors" group can 'see that....'

Permission masks are fine, but it's more typical (IMO) to have cases where you're controlling action and functionaliy based on a SP group. I'm looking to see if there's a solution out there without using managed code/solutions that can actually do
this.

Here is the code I have implemented in one of my applications for doing this type of thing client side... it checks only to see if the user considered a Visitor, Contributor or a Full Control... Other types can be used by trying to match up the permission
mask (info. on permissions masks here)...The example below stores the current user's permission "group" in global variable and then I use that variable
to show/hide/do/suppress functionality from certain groups.