Three-quark potentials in an SU(3) effective Polyakov loop model