Fixed #6: Added support for IE <= 7.