The Energy Losses Accompanying Ionization And Resonance In Mercury Vapor