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
Suppose, for a minute, you were on your way to go shopping when a guy, who turns out to be a tout, catches your attention. Here's their part of the conversation that follows....
Hey, bud... c'mere a minute. What are you doing? Shopping? Nah, you don't wanna do that. Not big enough for you. Hey, you wanna get in on buying a planet?
Now, you've probably never considered buying your own planet before, but sure, why not?
At this point, it would probably be a really good idea to know how much any planet you might consider buying might be worth, so you can know what a good deal might be and so you can avoid getting taken to the cleaners, don't you think?
Fortunately for you, our latest tool is here to help! Based on math developed by astrophysicist Greg Laughlin (HT: boingboing), our tool can give you a really good idea at what the economic value of any planet you might consider buying might be worth!
All you need to know is the planet's mass, its estimated temperature, and the age, type and apparent brightness of its star. Enter that relevant data into our tool and soon you'll know just how much that planet you're thinking about buying is really worth!
We've entered the default data for Earth and the Sun (mass, age) into the tool, but you're certainly welcome to substitute the world of your choice, whether in Earth's local neighborhood, or elsewhere!
Because really, the worst thing that can happen is that you're out your money and stuck owning a planet that isn't worth as much as you might have thought it would be!
But we'll close by cautioning our readers to avoid buying any planets whose existence so far is only hypothetical!
Update 6:33 AM: Coding glitch corrected - now up and running!
Also, for those of you who might be trying to use the tool from one of the sites that republish our RSS feed - that feed doesn't include the program code needed to make our tools work - just click here to access the original (and now functional) version!
Labels: real estate, tool
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.