Spiderman Or Batman?

I recently got into a debate with my Math teacher about this, he said that Spiderman was a better superhearo, and I said Batman was, my reasons were that he didn't have powers but he could still beat the bad guys and had all the cool highteck gagets.

What does everyone else think, whos a better superhero outta the two?

P.S. I know this isn't really a awsome subject to be taking to your Math teacher about, but I love movies and I'm excited for the new Batman, and I wanted to just know what people thought..

I tried to post this once, and it didn't post for some reason, so here is a summary:

1-Peter Parker is a brillant scientist, and often uses that knowledge to defeat his enemies.

2-Not many heros have access to the computers Batman has. The info he gains from those computers constitues a large part of his ability. He only has those computers because of inherited wealth.

3-Batman's gadgetry is almost all beyond the realm of reality. Boomerangs don't hit walls and heads and come back and grappling hooks aren't palm sized and can bear the weight of a full grown and armored man. Spidey's Web Shooters are no more ficitonal than any of those devices.