Does she see a therapist? She probably needs one, and probably a diagnosis as well.. and yeah, she also needs to take his meds probably. So the only way you can help her is telling her this. Also, I'm not sure this friendship is giving you any benefits.. if she doesn't listen to your advice, I'd start moving away from her, honestly, beacause I don't think she's doing you any good..
Hugs