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 = /^(dd?)[/.-](dd?)[/.-]((dd)?dd)$/;
forEach(document.getElementsByTagName('table'), function(table) {
if (table.className.search(/bsortableb/) != -1) {
sorttable.makeSortable(table);
}
});
},