Adjust to identify attribute class on IE7