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
We're offering today's post as a consolation to the hard working diplomats and other staffers at the U.S. State Department, so they won't feel like we're just picking on them. Oh, no. We have more evidence of government bureaucrats finding their way to us through the unlikely things they ask of Google!
For example, just yesterday, some hard working data jock at the U.S. Bureau of Labor Statistics found their way to us by asking Google about "teen unemployment during the current recession".
Our first reaction to that search was: "Really?! Dude, we get our data on teen jobs from you!" More remarkably though, when we ran the search that led to our post Grim Milestones for Teen Jobs, we came to recognize that they were either very dedicated or very lucky in tracking down our post, because we couldn't find it anywhere among the first 1,000 results that we obtained when we ran the Google search ourselves!
Here's another entry for the "Wait a minute - aren't you supposed to be the ones who already know this stuff?!" category, this time from Fannie Mae.
The cool thing here is that they came to our tool Predicting Mortgage Rates and Treasury Yields without the benefit of even performing an Internet search or clicking through from a link on another site. Nope. In our experience, the only way that happens is when one of our posts has been bookmarked to make clicking through super easy.
And for the record, that's not a bad thing. Our tool was thoroughly researched by Goldman Sachs back in August 2009. That's right, that Goldman Sachs. The one known for having an eery, almost impossible kind of prescience for their investment ability.
And today, we finally have proof that someone in the U.S. House of Representatives is perhaps a bit concerned about the role of the U.S. Congress is contributing to the nation's unemployment rate! Or at least just want to find out more about the "unemployment rate and congress."
Our post Does the U.S. Congress Cost Jobs? scored ninth in Google's rankings for the search when we ran it, and at least now, we know they know they have a problem. Now the real question is: "Do they care?..."
The answer to that question is available here. And if you're an investor, here (HT: David Templeton).
Labels: none really
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.