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
With Halloween nearly upon us, where millions of children in the U.S. are about to participate in the annual candy collection and consumption exercise known as trick-or-treating, we wondered how an increasingly intrusive government might interject itself into the event for the sake of keeping too many kids from having too much fun.
Because that would be wrong, you see, on so many different levels. Children might, if not prevented by government action, consume too much candy. If they were, why, it would excessively burden the health care system because they would get too fat during their school years. They wouldn't be able to learn at school because they couldn't focus because of all that sugar in their system. Why, they might even become criminals or make YouTube videos like this documenting the effects of excessive candy consumption!
Clearly, the government must act to protect the children! And in Washington state, they've acted by imposing taxes on candy! Thank goodness for the collective wisdom of Washington state's elected officials, who went to the trouble to legally define the kinds of candies most likely to place the state's children at risk of being at risk!
But to show that we care about children at least as much as the government does, we're happy to present a simple guide to what you need to know about promoting the well being of children who might arrive at your door while trick-or-treating this year while also avoiding having to pay taxes on all the candy the government has determined to be bad for children. In the guide below, which we're providing to you at no cost as a public service, the item on the left should be considered to be unhealthy since it's subject to Washington's tax on candy, while the item on the right should be considered to be a healthy alternative, because it isn't subject to Washington's tax on candy.
Because if you can't trust the government's legislators and regulators to get this kind of thing right, who can you trust?...
Remember, the government is the only entity that really knows what's best for kids. After all, if you can't tell that a green, kiwi-flavored Jelly Belly is bad for kids and that a black, licorice-flavored Jelly Belly is a healthy alternative, it's up to the government to use its taxing power to keep children safe.
And finally, remember that these kinds of well-thought out taxes are just one step away from more drastic steps that would progressively seek to outlaw trick or treating altogether. Because if people's activities and choices aren't sufficiently controlled and regulated by the government, they might find themselves at risk of being at risk!
HT: Sound Politics and Yes on 1107, which provided the guide we presented above!
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.