Section - 22 - Custody and Financial Provision for Children.

    (1) In all proceedings under this Act, it shall be the duty of the court to inquire whether there are any children of the household.

    (2) The court may, either on its own initiative or on application by a party to any proceedings under this Act, make any order concerning any child of the household which it thinks reasonable and for the benefit of the child.

    (3) Without prejudice to the generality of subsection (2), an order under that section may-

    (a) award custody of the child to any person;

    (b) regulate the right of access of any person to the child;

    (c) provide for the education and maintenance of the child out of the property or income of either or both of the parties to the marriage.