Look at the iframe coding for FB apps. Have the visitor authorize the app, check if they are a fan and redirect to your site outside of FB accordingly. I've pieced together some sample code over the last week or so that will do pretty much what you want...remebering it's just rough code, I can post if if you'd like...no pun intended...
ND