changes for ie6 and ie7