  Temperature of the Bose -- Einstein condensation and the temperature behavior
of the chemical potential and other thermodynamical functions of the ideal Bose
gas are found for the arbitrary power-like spherical-symmetric potential at an
arbitrary space dimension. It is shown that the recently observed Bose --
Einstein condensation of photons in the cavity is the phase transition of the
third kind.
