<P> Toward the middle of the season, it becomes clear that Jim's unresolved feelings toward Pam are affecting his relationship with Karen . In "The Return", Jim decides to pull a prank on Andy; however, Karen is unable and Ryan unwilling to aid him, so he turns to Pam, who readily agrees . Their interaction during the prank causes Karen to feel threatened . She confronts Jim, and he finally admits to still having feelings for Pam . Despite this fact, their relationship continues . </P> <P> In "Cocktails", Roy trashes the bar when Pam tells him she kissed Jim during "Casino Night". Roy then attempts to attack Jim at work in "The Negotiation", but Dwight sprays Roy with pepper spray . Roy is fired, but when Pam assures Jim that it is over between her and Roy for good, Jim doesn't believe it and tells her so . </P> <P> In "Beach Games", during a company outing at the beach, Pam confesses to Jim in front of everyone that he was the reason she broke off her wedding to Roy . She also states that she has missed their friendship since he left Scranton for Stamford . Later that night, Jim tells Pam that he feels as if he never really came back from Stamford, tacitly admitting that he has actively been fighting his feelings for her all year . However, Jim's relationship with Karen and pending interview for a corporate position which would require his relocation to New York City, still obstruct a potential romance . </P> <P> In "The Job", Jim, Karen, and Michael each interview for the corporate position . During the interview, he notices a caring note from Pam in his briefcase . After the interview he drives back to Scranton, leaving Karen without a ride . Back at the Scranton office, Pam is describing her lack of satisfaction with the current state of her relationship with Jim . Jim then suddenly interrupts the session to ask her to dinner, much to her surprise . She becomes flustered and overjoyed, and accepts the invitation . Jim replies "All right . Then...it's a date," and leaves abruptly . Pam turns back to the camera, smiling, only to ask, "What was the question?" In a webisode titled "Office Summer Vacation", found on NBC's website, Karen states that Jim "dumped my ass" and left her crying at a fountain . </P>

When does pam tells jim how she feels