* adjust code for ie7.