I would repair it enough to where it has some trade in value (As in functionally running), and find something you like. If you go with a used vehicle, have a mechanic from OUTSIDE of the dealer you're buying from go over the car. If they won't allow that, run, run far. I would also suggest getting a carfax history report on anything you buy. Key things to look at on a vehicle history are serious front or side collisions. .Unibody cars don't repair very well after those.