Unless otherwise provided by law, the counties within a special juvenile court district may enter into contracts of agreement providing such terms and conditions therein as the parties deem best for the joint financial support, operation and maintenance of such special juvenile courts.
T.C.A. § 37-1-208