in the thriller Derailed, and as an obituary and wedding announcement writer in the romantic comedy Rumor Has It. Both films were moderate box office hits. Aniston took on the role of a single, cash-strapped woman working as a maid in the independent drama Friends with Money (2006), which received a limited release. Her next film was the romantic comedy The Break-Up (2006), alongside Vince Vaughn, in which she starred as one half of a couple having a complicated split when both refuse to move out of the pair's recently purchased home. It received mixed reviews but grossed approximately $39.17 million during its opening weekend and $204 million worldwide. The A.V. Clubs Keith Phipps gave the film a negative review, stating, "It's like watching the 'we were on a break' episode of Friends stretched to feature length, and without the blessed relief of commercial breaks or the promise of Seinfeld around the corner." CinemaBlend gave the film a positive review stating, "In an era of formulaic romantic movies that bear no resemblance to reality, The Break-Up offers a refreshing flipside." In 2006, Aniston directed the short film Room 10, set in a hospital emergency room and starring Robin Wright and Kris Kristofferson, as part of Glamours Reel Moments film series. She noted that she was inspired to direct by actress Gwyneth Paltrow, who also directed a short film that year. In 2007, Aniston guest-starred in an episode of Dirt—playing the rival of Courteney Cox's character—and in an episode of 30 Rock, playing a woman who stalks Jack Donaghy. For the latter she received a Primetime Emmy Award nomination as Outstanding Guest Actress in a Comedy Series. The 2008 comedy drama Marley & Me, starring Aniston and Owen Wilson as the owners of the titular dog, set a record for the largest Christmas Day box office sales ever with $14.75 million. It earned a total of $51.7 million over the four-day weekend and placed number one at the box office, a position it maintained for two weeks. The total worldwide gross was $242.7 million. Her next film in wide release, the romantic comedy He's Just Not That Into You (2009), in which she starred opposite Ben Affleck, grossed $178.8 million globally and ranked number one at the United States box office for its opening weekend. While it received mixed reviews, Aniston, along with Affleck, Ginnifer Goodwin, and Jennifer Connelly, were praised