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
Just in case you might have thought that we were the only ones going tax-related tool crazy these days, Nick Kasprak of the non-profit Tax Foundation has done a major update to the organization's MyTaxBurden tool!
Today the Tax Foundation releases its latest interactive tool, an update and overhaul of its successful MyTaxBurden tax calculator. I've rewritten the calculator from the ground up and added a variety of new options and features.
The original MyTaxBurden calculator was released in July 2010, and calculated tax bills for tax year 2011 under three scenarios - full expiration of the Bush and Obama stimulus bill tax cuts, full extension of those cuts, and partial expiration for high income earners in the form proposed by President Obama. Later we added a similar proposal to reflect the proposals of Congressional Democrats, and finally the compromise plan that became law in December.
However, one limitation of the calculator was that it wasn't possible to customize policy scenarios in any real way. Suppose, for example, I wanted to compare the effects of failing to patch the AMT under full extension or full expiration of other tax cuts? What if I wanted to look at how my tax burden changes from year to year, and compare my 2010 bill to my 2011 bill? What if I want to look at the President's proposal, with and without the Buffett rule? What if I wanted to look at all of these scenarios but also see what would happen if health care reform is overturned by the Supreme Court?
The new calculator lets the user make these decisions. Each scenario in the calculator represents a particular combination of pieces of legislation, any of which can be turned on and off individually, on top of current law.
Here's a screen shot we snapped of the tool's basic interface:
The basic interface is a quick and easy for casual users, but the real strength of the tool is it's ability to go into great detail.
For example, once you click to "Calculate My Income Tax", the MyTaxBurden tool will currently show how you will fare on your taxes under current law, in 2013 after the "Bush tax cuts" of 2003 expire, and under the various proposals that President Obama has advanced.
And then, you can go even deeper into detail! And if you find anything worth commenting upon, the MyTaxBurden tool makes it easy to share what you find with whomever you might choose! (For those who would not like to circulate their income data around the Internet, we recommend entering non-specific data....)
By way of example of what the tool is capable of doing, Nick has put President Obama's own tax return data for 2011 into the MyTaxBurden tool to see how he might fare under four possible scenarios!
To show a quick example of this, let's take a look at President Obama's 2011 tax return under four scenarios:
- actual 2011 tax law,
- full expiration of Bush-era and stimulus tax cuts in 2013 (the default "Tax Cuts Expire" scenario),
- same as (3) except that the AMT is also not patched ("Taxmageddon"), and
- the President's own budget, plus the enactment of the "Buffett Rule" (the default "Obama proposals scenario.)
(2) and (3) are the same in this case, since the expiration of the Bush tax cuts pushes the President out of AMT.
As for how President Obama fares under his own proposals, Nick observes:
Ironically, the President owes the most under his own proposal, because his budget includes a provision to cap the benefits of itemized deductions to at most 28% of their value.
And so we find that the President is unwilling to allow any deduction to go unclaimed on his own tax return....
On a final note, we reviewed the previous generation of the MyTaxBurden.com calculator back in July 2010, awarding it our "Silver Standard" for overall online tool quality.
We're upgrading the MyTaxBurden calculator to our "Gold Standard", as the new generation of the tool appears well adapted to go far beyond the time-specific limitations that held us back from giving it that award in its previous incarnation. We find that it produces highly informative results, allowing users to enter as much or as little data as they might wish in a very clean user interface, producing highly detailed, yet easy to follow results. Very highly recommended.
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.