Spain is paying the price for croneyism and corruption just like Greece but to a slightly lesser degree. During the days of free credit, boy did some of Spain's "well connected" do some great deals. Fortunately, some of them are now seeing prison cells whilst the remainder of taxpayers pay the price.
I lived here for a good few years now and I can tell you. Some of the old habits are still around!