Your best chance of getting around foreclosure is for you to talk to the loss mitigation department. This is the office of the lender, bank or mortgagee that deals with foreclosure issues.
See the article here:Foreclosure Loss Mitigation – Your Best Option To Stop Foreclosure