yeah. that sucks to be in the middle. I was kind of in a situation like that once. I had these two friends since high school. One was gay and we lived together. The other was really homophobic. When I was out, the homophobic dude would call my house and harass my roommate, making all these mean, corny gay jokes. My roommate was really hurt by this. He felt betrayed that I would be friends with someone like that. I didn't know what to do. I had known them both since high school, and I loved both of them.
So, yeah I was stuck in the middle. It really sucks.