IE7 compatibility from Kris&Brake