Thermal corrections in the Casimir interaction between a metal and dielectric