Compatibility fix for IE smaller than 9
IE7 compatibility... this can go on forever ...