Made changes to be IE7-compliant