Added support for IE7 and up.