Two former employees of an Edison law firm admitted Monday to embezzling more than $788,000 during a two-and-a-half-year period.

From February 2005 to September 2007, they wrote checks on the firm’s trust and business accounts to themselves and to their creditors and hid the theft by altering the payee information in the firm’s accounting system, according to court documents.