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
After months of inaction as gasoline prices were rising, President Obama suddenly announced on 23 June 2011 that the U.S. would release 30 million barrels of oil from the Strategic Petroleum Reserve, in a move that appears to be somewhat of a panicked effort to try to claim some credit for a decline in gasoline prices, which have been falling steadily since 5 May 2011.
Let's see how the President's action has affected U.S. gasoline prices since the announcement. The following chart from GasBuddy.com shows the three month average retail price for regular gasoline sold in the United states:
As best as we can tell, there was a slight dip in the downward trend in gasoline prices around the time of the announcement, which evaporated within a couple of days, as the existing trend quickly resumed its previous trajectory. And since 29 June 2011, there's actually been an increase in average retail gasoline prices across the U.S., which is likely related to travel associated with the extended Fourth of July holiday weekend in the U.S. this year.
Or in other words, the President's dramatic action has had precious little effect on the overall trend of gasoline prices in the U.S., suggesting that President Obama's effort to alter the trajectory of U.S. gasoline prices shares a similar level of impotence as the efforts of Venezuelan President's Hugo Chávez, who tried unsuccessfully to move world oil prices in the opposite direction.
In other news, U.S. retail gasoline prices have fallen to the point where we expect that we will be soon decommission the "Good Morning, White House Staffer!..." feature on our site that we first launched when average U.S. retail gasoline prices began exceeding the critical $3.50 to $3.60 per gallon range earlier this year. We'll be taking it down after those prices fall consistently below the $3.55 per gallon mark, but the White House staffer who has been tasked with "monitoring the situation closely" can expect it to return should those prices rise back about $3.60 per gallon!...
Labels: gas consumption
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.