IE7 compatibility tweaks.