Automated method for determination of mercury.