Remember you also have time under the 2009 federal renters legislation. Tenants have the right to stay in their homes after foreclosure for 90 days or through the term of their lease.The protections expire at the end of 2012.
The HOA likely has a lien. If I were you, I might consider talking to them and seeing if you could buy it from them, then do the sale yourself. Consult an attorney familiar with these laws.