With a growing number of people with untreated mental illness lodged in jail, prosecutors in Gloucester, Hunterdon and Warren Counties will each receive $150,000 to divert inmates who belong in psychiatric care, acting Attorney General John J. Hoffman announced Tuesday.