Yep, what metalman said. Here's a more detailed explanation:
http://www.miata.net/garage/ignition.html

EDIT:
Sorry, I never saw redrum's post.