Execute function if two statements are true (jsFiddle & gist link provided).

Execute function if two statements are true (jsFiddle & gist link provided).

Hi all.
I've just created my account @ jQuery.com, so a quick "Hello world" to you!

The problem: I need to execute a function, if 2 events are true. Or false. Depends on how you write the code, I guess :)

Basiclly... I'm just lost! I've been trying for hours to get an animation to only execute when 2 statements is true.
I have tried simple solutions and really far out attempts. This is would seems most logical for me.

I have commented 100% of the code out so if you have any questions about any of it, it might be found in the side. But also just a principle. If you spend time helping me, I should at least make it as easy for you, potential, guys, as possible!
https://gist.github.com/kallehauge/5149358
http://jsfiddle.net/5JnQe/

Looking forward to any "input" that I can get from your guys!
Best regards a the Forum Rookie.