You walk into the temple, avoiding many obstacles. You'll get to this door where on the other side you see a cookie (which is supposed to be the idol). If you try to go out the other door, you'll see it's locked. Go up the ramp and when the door (on top of the ramp) opens, you're in for a big surprise!!