2000 jeep tj

Bought a 2000 Jeep Tj. Was in desperate need of a vehicle and didnt do my due diligence on these things. Long story short after driving it for 2 years the transmission has a bad leak in it and the frame is very rusted. Was wondering how much I could get parting it out?