The breakdown of marriages can sometimes have devastating effects on children as they are often caught in the middle of contentious custody battles.