Pressure equilibrium and energy balance of small photospheric fluxtubes