LEGAL ANALYSIS OF CHILD CUSTODY RIGHTS IN CASES OF DIVORCE