While the primary purpose of appointing a receiver (here, to sell radio stations) is to enforce and obtain payment of a judgment, the judgment debtor cannot automatically obtain the receiver’s discharge and return of its property by posting adequate security for or paying the judgment. The court retains discretion to continue the receivership thereafter to assure that the judgment debtor’s other creditors are fairly treated and to assure that the receiver is fully paid for his efforts in that role.