to your HTML Add class="sortable" to any table you'd like to make sortable Click on the headers to sort Thanks to many, many people for contributions and suggestions. Licenced as X11: http://www.kryogenix.org/code/browser/licence.html This basically means: do what you want with it. */ var stIsIE = /*@cc_on!@*/false; sorttable = { init: function() { // quit if this function has already been called if (arguments.callee.done) return; // flag this function so we don't do the same thing twice arguments.callee.done = true; // kill the timer if (_timer) clearInterval(_timer); if (!document.createElement || !document.getElementsByTagName) return; sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/; forEach(document.getElementsByTagName('table'), function(table) { if (table.className.search(/\bsortable\b/) != -1) { sorttable.makeSortable(table); } }); }, makeSortable: function(table) { if (table.getElementsByTagName('thead').length == 0) { // table doesn't have a tHead. Since it should have, create one and // put the first table row in it. the = document.createElement('thead'); the.appendChild(table.rows[0]); table.insertBefore(the,table.firstChild); } // Safari doesn't support table.tHead, sigh if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0]; if (table.tHead.rows.length != 1) return; // can't cope with two header rows // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as // "total" rows, for example). This is B&R, since what you're supposed // to do is put them in a tfoot. So, if there are sortbottom rows, // for backwards compatibility, move them to tfoot (creating it if needed). sortbottomrows = []; for (var i=0; i
Having looked at how Greece arrived at its current crisis, we thought we'd turn to the next country that is coming to dominate the bad economic news in Europe: Spain.
Here's our chart showing the relationship between Spain's GDP per capita and its annual government tax collections and expenditures per capita for each year from 2000 through 2011:
Unlike Greece, we find that the Spanish government's expenditures throughout much of the period appeared to be stable, with the government running significant surpluses in 2005 through 2007.
Unfortunately for Spain however, those surpluses were based on that country's large housing bubble, which greatly increased the numbers of people paying the nation's highest income tax rates as their incomes were highly inflated during this period of time. We know this is the case because Spain's tax rates throughout nearly all of this period were very stable, and essentially unchanged from 2000 through 2010. The only way we would see this pattern then is if the distribution of income in Spain during this time shifted to increase the numbers and incomes of upper income earners, who were benefiting from the bubble economy.
Instead, we find that Spain's financial crisis came about because it also increased its spending to keep pace with its bubble economy, which simply could not be sustained. Once the bubble burst in 2008, the Spanish government found itself in a very precarious position as it was spending far more money than it could ever count upon sustainably collecting. And as the Spanish economy worsened from 2008 through 2011, it created even greater strains upon the nation's finances as the economy plummeted into deep recession, given the large scope of the malinvestments weighing it down.
That brings us to today, where the fiscal situation of Spain threatens to become even worse because of the deteriorating health of its banking system. Here, because Spanish banks were exposed to so much of the fallout from the bursting of the Spanish real estate bubble, whether or not they can continue now depends upon whether or not they can secure a massive bailout from the government and the European Union, as the threat of a national financial system collapse is becoming an almost inevitable possibility.
Welcome to the blogosphere's toolchest! Here, unlike other blogs dedicated to analyzing current events, we create easy-to-use, simple tools to do the math related to them so you can get in on the action too! If you would like to learn more about these tools, or if you would like to contribute ideas to develop for this blog, please e-mail us at:
ironman at politicalcalculations
Thanks in advance!
Closing values for previous trading day.
This site is primarily powered by:
The tools on this site are built using JavaScript. If you would like to learn more, one of the best free resources on the web is available at W3Schools.com.