How far along were you when you decided baby's name, or was it after birth?

We decided our baby's name soon after the anatomy ultrasound, even though we had agreed not to discuss names til we knew the gender! It just so happened that boys names were much easier for us than girls names However, I have a friend who is due in a few weeks and they still don't know. I'm pretty sure we'd be in the same boat if we were having a girl. When did you decide?