5303 Award of custody, partial custody or visitation
(a) General rule.--
(1) In making an order for custody or partial custody, the court shall consider the preference of the child as well as any other factor which legitimately impacts the child's physical, intellectual and emotional well-being.
(2) In making an order for custody, partial custody or visitation to either parent, the court shall consider, among other factors, which parent is more likely to encourage, permit and allow frequent and continuing contact and physical access between the noncustodial parent and the child.