One of the things you do when you get a divorce is determine custody of children.