Mike, it really depends on what kind of damage you have. When you ran over something, did it actually hit the frame? Is there a dent, rip or a bow in the frame? Usually the frame can be straightened in a body shop for around $700. And this is just a rough estimate. If it's a small repair that won't require taking the bed and/or the cab off, its probably going to be cheaper. My advise is, find a local auto paint & body supply store and ask the salespeople if they know any small bodyshops in town. Have them check it out and you will save a lot. Reply with more details and I will see if I can figure out a closer figure for you.
Just like in real-estate, you make money when you buy. Finding a car that can be rebuilt and profited from can be tricky. If you do your homework ahead of time you will reap the rewards.
Insurance Auto Auctions have an online member-only area where you can preview the cars that are coming up for auction, you can do that as early as a week ahead of time. You will get to see pictures and will get general details about each car. Armed with this info you can do your research by checking the Blue-Book price on the car at nadaguides.com, find out the prices for the major parts that will need to be replaced, find out if the parts are available localy. You will be a step ahead of most people at the auction.