According to Jim: Season 3, Episode 19
When You Wish to Be a Star: Part 2 (2 Mar. 2004)
TV Episode - - Comedy
Jim is troubled because his replacement in the commercial, Ted, gets to be a bit too intimate with Cheryl in front of camera. So when a role opens, he grabs it. Mysteriously, Kitson turns gay when Andy is in the table.