PHILADELPHIA  A day that started on a sad note for Dallas coach Bill Parcells ended in an improbable celebration Monday night. After attending the funeral Monday morning of his younger brother Don — who died of brain cancer last week — Parcells watched as his Cowboys, on the verge of losing their seventh game in a row in Philadelphia, scored two touchdowns in a span of 21 seconds late in the game and shocked the Eagles 21-20. (Related item: Game report)

Roy Williams, left, runs back the game-winning touchdown after intercepting the ball from Donovan McNabb.

By Rusty Kennedy, AP

Dallas (6-3) trailed 20-7 before Drew Bledsoe took his team on a four-play, 72-yard drive that required only 40 seconds and culminated in a 20-yard strike to Terry Glenn with 3:04 remaining.

Two plays into the Eagles' next possession, Roy Williams picked off an ill-advised Donovan McNabb pass and ran it back 46 yards for a TD with 2:43 left.

"I was reading his eyes the whole way," Williams said. "I didn't think he was going to throw that way. I just didn't think he was going to let the ball go." (Related audio: Williams elaborates on the interception)

He did, and the result was that Philadelphia (4-5) has lost three in a row for the first time since 1999. It was their second consecutive loss since Terrell Owens was sent home and told not to return following his verbal jabs at the organization and McNabb, who suffered a groin injury chasing Williams. He'll have an MRI exam today. He was replaced by Mike McMahon for a last-ditch drive that led to David Akers' 60-yard field goal attempt that fell way short.

Dallas moved into a tie with the New York Giants for first place in the NFC East, a division the Eagles have ruled for the last four years. The Cowboys used their late-game magic to sweep their rivals for the first time since 1998.

"Hey, I feel fortunate, that's all I can tell you," an emotional Parcells said. "I think we were lucky to win.

"A lot of emotions for me here today, but I'll tell you what I told the players. We got a message today that said, 'Don't have a troubled heart.' And I don't. I've got those guys in there."

The Eagles' problems are much bigger than T.O. now.

McNabb was hobbling badly after the game-turning play with a groin injury, and was scheduled for an MRI exam Tuesday. McNabb, who is playing with a sports hernia that will require surgery, played one more series after the interception before giving way to McMahon for the Eagles' final possession.

"It never should of happened," McNabb told The Associated Press. "I was trying to get the ball to Reggie (Brown) and Roy just did an excellent job coming from underneath."

The reigning NFC champion Eagles lost their third straight game for the first time since 1999 and fell further behind in the NFC East standings. Dallas is tied with the New York Giants for first place, one game ahead of Washington.

When it was over, Parcells shook his head in disbelief as he approached Andy Reid, whose Eagles outplayed the Cowboys until Dallas' two touchdowns 21 seconds apart. The Cowboys lost a Monday night game in similar fashion to Washington in the second week of the season, giving up two long touchdown passes to Santana Moss in the waning minutes.

For a while, it seemed the Eagles had overcome the distractions caused by Owens' departure and were headed toward an important victory. But McNabb made one of the costliest mistakes of his seven-year career.

A grievance hearing for Owens' four-game suspension is scheduled for Friday, but the Eagles plan to deactivate the All-Pro wideout the rest of the season no matter the outcome.

Brian Westbrook had 86 yards rushing and one TD and Gordon ran for 57 yards as Philadelphia's pass-heavy offense tried to offset the loss of its best receiver by keeping it on the ground.

But Philly's wideouts — Brown and Greg Lewis— combined for just six catches for 57 yards. Owens had 47 catches for 763 yards and six TDs in seven games.

McNabb did his part to replace Owens' end zone theatrics. He spiked the ball and moonwalked, far less exciting than any of Owens' innovative TD celebrations.

The Eagles quickly established their ground game on the opening drive, running the ball on seven of the first 11 plays. Even McNabb, a reluctant runner this season because of his injuries, took off for a 9-yard gain on the second play.

Westbrook ran in from the 15 — the team's first rushing TD since Week 3 — to cap the drive and give the Eagles a 7-0 lead. Philadelphia came in throwing the ball almost 75% of the time, the most in the NFL.

A 58-yard pass from Bledsoe to Peerless Price put Dallas at the Eagles 3, and Barber ran it in from the 1 on his third try to tie it at 7.

Akers kicked field goals of 48 and 20 yards in the second half for the Eagles to make it 20-7.

The notoriously boorish Philly fans were just as eager to move on without Owens as the team. Before the game, radio station WIP-AM held a mock funeral for Owens in which fans put their No. 81 jerseys — and even some money — in a casket. One of the talk-show hosts, Howard Eskin, cremated one of the jerseys and spread the ashes in the end zone.

Notes: Dallas' won in Philly for the first time since a 34-0 victory in a Monday night game at the now-demolished Veterans Stadium in 1998. ... Eagles TE L.J. Smith left in the fourth quarter with a sprained ankle and SS Michael Lewis had a concussion.