An ab initio CI study of the electronic structure and spectrum of the trichloride ion