Added support for IE7.