Simplified child image selection

Did you know you can use .getElementsByTagName() on any element? Here
I've refactored your code to use it instead of document.images. This
also allows us to scrap your hasTwoOffsetParents() function.
Merge pull request #1 from njbair/images-fix

Simplified child image selection