Hey, this is something I've been wondering for a long time: what stages occur in between getting into bed and falling asleep?

I've always assumed that what happens is that it takes some time to really fall asleep, but quickly your long-term memory is turned off and you're not aware that you won't remember what's happening in the morning.

I'm sure there has been some documented research on this, does anyone know of any?