Generally speaking, under the Protecting Tenants At Foreclosure Act, you (the tenant) are still obligated to pay your rent to the landlord, even if he is going through a foreclosure. If the property is foreclosed upon, however, the new owner will have to give you at least 90 days notice to move. I'm sure this isn't the answer you're looking for, and I'd still recommend speaking with an attorney about your specific issue (especially to review your current lease agreement).
This information is given for legal education only. It may not work for your specific situation. It is not legal advice, and I am not your lawyer. You have to find your own local lawyer to get legal advice and help with your problem.