Gamma ray spectra and parameters of neutron resonances in mercury