foreclosure and bankruptcy are totally different thing
if you are in the state of california. bank can't go after you for the loan deficiency if the loan is purchase money loan. you have to hire a lawyer to petition for bankruptcy, which will cost you around 3000 USD. if your unsecured loan are only in the thousands, try to work out a deal w/ your lender. your house is in foreclosure doesn't mean you are bankrupt.
