Nonperturbative effects in the quark-gluon thermodynamics are studied in the
framework of Vacuum Correlator Method. It is shown, that two correlators:
colorelectric $D_1^E(x)$ and colormagnetic $D^H(x)$, provide the Polyakov line
and the colormagnetic confinement in the spatial planes respectively. As a
result both effects produce the realistic behavior of $P(T)$ and $s(T)$, being
in good agreement with numerical lattice data.