Palua
Palua, the easy way to quickly switch the mode of your Function Keys on any Mac keyboard!
You need to run a game, or start a graphic application, or work on a project that need F1-F12 as function keys, just hit option+command+TAB and the switch will happen.