A Phase Transition Approach to High Temperature Superconduct