Firstly, hello, as this is my first post on the forum!
I wanted to pick up on something posted above, as I am looking at exactly the same choice for my first DSLR. The D40 doesn't have the motor built into the body so if you want a lens to AF, you have to buy specific lenses with the motor...