The determination of mercury in rocks and sediments