MAGNETIC FIELD TOPOLOGY AND THE THERMAL STRUCTURE OF THE CORONA OVER SOLAR ACTIVE REGIONS