If it makes you feel any better, I've done the same thing before. Backing my first car ('93 Saturn) out of the garage in my parents' house, for some reason I left the driver's side door open about 10". it caught on the frame of the garage, and bent the hell out of the window frame.
It sure stopped the car quickly though