You may not loose your house by declaring yourself bankrupt if there isn't a lot of equity within it. If you're considering Bankruptcy if you have a lot of equity within your house see an independant mortgage advisor close to you (don't pay more than �995 at most in broker fees, and nothing until the deal is concluded) as they may be able to release equity from your house and reduce your monthly outgoings.
If you have no equity there would be no benefit to the courts or your mortgage lender in repossesing your house so, providing you agree to maintain repayments (perhaps at a slightly lower level) you'd probably keep your house.
Also, you can now get Bankruptcy discharge mortgages from a number of lenders which you could use in the future should the worse happen.
Maybe you could consider an Individual Voluntary Agreement (IVA) instead of bankruptcy?
No matter how poor or stuck you are I'd always recommend findng some one you can trust, be it an IFA, mortgage advisor or solciitor to speak to before doing anything. Perhaps try Citizens Advice or National Debt line if you're in trouble.