conditional check for ie7 and 8