If the HOA forecloses they may be able to evict you even if the 1st does not, so it's important to speak to someone who can provide you with legal advise and the next steps to take.
If there is equity in the home, you should definitely consult an attorney right a way, cause you might get evicted and lose your home. If there is no equity in the home, I suppose it does not matter that much, but either way, an attorney can advise you as to what should be the best course of action for you.
Try http://www.lawguru.com, you can pose a question there to a real estate attorney for free.
Hope that helps
Now, more than ever, you need to speak to an attorney about your rights and negotiating some agreement.
under the name of the borrower. Talk with an attorney, but
a junior lien foreclosure should not release you of liability,
just ownership. You may have yourself in a no-win
situation. Definately should seek legal counsel to see where