Thermodynamical behavior of the variable Chaplygin gas