In a nip-and-tuck weekend race that appeared too close to call as of Sunday, Paramount/DreamWorks's Transformers Revenge of the Fallen ultimately got its revenge Sunday against Fox's Ice Age Dawn of the Dinosaur s as it came from behind to win the three-day contest at the box office. The Transformers sequel grossed $42,320,877, edging out the Ice Age sequel, which took in $41,690,382. Ice Age was entitled to some bragging rights of its own, however. Over the five-day Independence Day holiday period, it took in $66,732,868 to Transformers ' $64,914,666. It also slightly bested Transformers on a per-screen basis. It was helped by premium pricing at 3D venues, which helped offset lower ticket prices for children. (Overseas, there was no contest, with Ice Age nailing $148 million over the five days in 101 countries, including 16 where it broke opening records.) Universal's Public Enemies, starring Johnny Depp, also had a solid opening, earning $25,271,675 over the three-day weekend and $40,141,080 over the five-day. Disney's T he Proposal came in fourth in its fourth week with $12,857,482, while Warner Bros.' The Hangover settled for fifth with $11,268,413. Meanwhile, Disney/Pixar's Up remained solid on the box-office chart after six weeks, coming in sixth with $6,521,389.

The top ten films over the weekend, according to final figures compiled by Box Office Mojo (figures in parentheses represent total gross to date) 1 . Transformers Revenge of the Fallen , Paramount/DreamWorks, $42,320,877, 2 Wks. ($293,355,885); 2. Ice Age Dawn of the Dinosaurs, 20th Century Fox, $41,690,382, 1 Wk. ($66,732,868 -- From Wednesday); 3. Public Enemies, Universal, $25,271,675, 1 Wk. ($40,141,080 -- From Wednesday); 4. The Proposal , Disney, $12,857,482, 3 Wks. ($94,335,111); 5. The Hangover , Warner Bros., $11,268,413, 5 Wks. ($205,038,233); 6. Up , Disney, $6,521,389, 6 Wks. ($264,816,694); 7 . My Sister's Keeper , Warner Bros., $5,788,327, 2 Wks. ($26,518,582); 8. Taking of Pelham 1 2 3, Sony, $2,534,228, 4 Wks. ($58,508,070); 9. Year One , Sony, $2,323,843, 3 Wks. ($38,304,392); 10. Night at the Museum Battle of the Smithsonian , 20th Century Fox, $2,043,288, 7 Wks. ($167,706,959.)