Added IE7 support