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
Did you ever wonder what your boss is really saying about you in your employee evaluation? Political Calculations(TM) provides the following guide to understanding your employee evaluation by deciphering your boss' code....
A keen analyst: Thoroughly confused.
Accepts new job assignments willingly: Never finishes a job.
Active socially: Drinks heavily.
Alert to company developments: An office gossip.
Approaches difficult problems with logic: Finds someone else to do the job.
Average: Not too bright.
Bridge builder: Likes to compromise.
Charismatic: No interest in any opinion but his own.
Competent: Is still able to get work done if supervisor helps.
Conscientious and careful: Scared.
Consults with co-workers often: Indecisive, confused, and clueless.
Consults with supervisor often: Very annoying.
Delegates responsibility effectively: Passes the buck well.
Demonstrates qualities of leadership: Has a loud voice.
Displays excellent intuitive judgement: Knows when to disappear.
Displays great dexterity and agility: Dodges and evades superiors well.
Enjoys job: Needs more to do.
Excels in sustaining concentration but avoids confrontations: Ignores everyone.
Excels in the effective application of skills: Makes a good cup of coffee.
Exceptionally well qualified: Has committed no major blunders to date.
Expresses self well: Can string two sentences together.
Gets along extremely well with superiors and subordinates alike: A coward.
Happy: Paid too much.
Hard worker: Usually does it the hard way.
Identifies major management problems: Complains a lot.
Indifferent to instruction: Knows more than superiors.
Internationally known: Likes to go to conferences and trade shows in Las Vegas.
Is well informed: Knows all office gossip and where all the skeletons are kept.
Inspires the cooperation of others: Gets everyone else to do the work.
Is unusually loyal: Wanted by no-one else.
Judgement is usually sound: Lucky.
Keen sense of humor: Knows lots of dirty jokes.
Keeps informed on business issues: Subscribes to Playboy and National Enquirer.
Listens well: Has no ideas of his own.
Maintains a high degree of participation: Comes to work on time.
Maintains professional attitude: A snob.
Meticulous in attention to detail: A nitpicker.
Mover and shaker: Favors steamroller tactics without regard for other opinions.
Not a desk person: Did not go to college.
Of great value to the organization: Turns in work on time.
Use all available resources: Takes office supplies home for personal use.
Quick thinking: Offers plausible excuses for errors.
Requires work-value attitudinal readjustment: Lazy and hard-headed.
Should go far: Please.
Slightly below average: Stupid.
Spends extra hours on the job: Miserable home life.
Stern disciplinarian: A real jerk.
Straightforward: Blunt and insensitive.
Strong adherence to principles: Stubborn.
Tactful in dealing with superiors: Knows when to keep mouth shut.
Takes advantage of every opportunity to progress: Buys drinks for superiors.
Takes pride in work: Conceited.
Unlimited potential: Will stick with us until retirement.
Uses resources well: Delegates everything.
Uses time effectively: Clock watcher.
Very creative: Finds 22 reasons to do anything except original work.
Visionary: Cannot handle paperwork or any project that lasts less than a week.
Well organized: Does too much busywork.
Will go far: Relative of management.
Willing to take calculated risks: Doesn't mind spending someone else's money.
Zealous attitude: Opinionated.
Treacherous sluggard who makes up for it with a quick tongue and a quicker blade: Much like Captain Feathersword....
Labels: business, 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.