The entire story changes of course when you want pixel perfect collision detection, but this is easy too!
Somehow I think I need this one since not everything will be rectangular. So do you have some links or something about it? I think I've read something about it somewhere, but at the moment I'm not able to find out where.