I agree with Jen here, the first thing to do is have the cat checked for crystals, it can be really painful to pee if he's blocked - and life threatening!
A clean litterbox is essential of course, and maybe she could try to change the kind of litter she uses.