Script To Focus The Pidgin / Empathy Conversation Window Using A Shortcut Key

I was reading an article on tux-planet.fr about xdotool when I realized I can use this to create a script to focus (activate) the Pidgin conversation window using a shortcut key - something I have been searching for a long time. Being a relatively old ubuntuforums.org member, I also noticed quite a few users were looking for a way of doing this, so I'm guessing this might be interesting for WebUpd8 readers also. Of course, you can use xodotool to focus (or perform many other different actions) any window using the terminal or a script which can be set as a keyboard shortcut, etc.