"Ice Age: Continental Drift" knocked "The Amazing Spider-Man" out of the No. 1 spot in this week's box office tally.

The animated flick took in a cool $45.7 million over the weekend, while "Spider-Man" raked in $35 million for a second-place finish. The raunchy Seth MacFarlane comedy "Ted" came in third with $22.1 million.

Here's the top ten.

"Ice Age: Continental Drift," $45.7 million
"Amazing Spider-Man," $35 million
"Ted," $21.2 million
"Brave," $10.7 million
"Magic Mike," $9 million
"Savages," $8.7 million
"Tyler Perry's Madea's Witness Protection," $5.6 million
"Katy Perry: Part of Me," $3.7 million
"Moonrise Kingdom," $3.5 million
"Madagascar 3: Europe's Most Wanted," $3.5 million