Oh gosh, I have been there soooo many times. Since I had to go to an office to work, many is the time I called in sick. And then racked up the reputation of calling out a lot.
I think Caroline has it nailed with baby steps. Sounds like you're on the path now...yeaaaa!!!!
(*Aza steps on her soap box* - people who have never dealt with mental illness have NO idea what it feels like. *Aza gets off soap box and slides it to the side*