User:Tcncv/sorttablesdebug.js

alert('here 1');

function tsx_sortables_init { alert('here 5');

var idnum = 0; // Find all tables with class sortable and make them sortable var tables = getElementsByClassName( document, 'table', 'tsx_sortable' ); for (var ti = 0; ti < tables.length ; ti++) { if (!tables[ti].id) { tables[ti].setAttribute('id','tsx_sortable_table_id_'+idnum); ++idnum; }		tsx_makeSortable(tables[ti]); } alert('here 6'); } alert('here 2'); //addOnloadHook(tsx_sortables_init); alert('here 3');

alert('here 4'); alert('here 4zzzzz');

/* * End of table sorting code */