1 function ts_resortTable(lnk) {
\r
2 if (span.getAttribute("sortdir") == 'down') {
\r
3 span.setAttribute('sortdir','up');
\r
5 span.setAttribute('sortdir','down');
\r
8 function getParent(el, pTagName) {
\r
9 if (el == null) return null;
\r
10 else if (el.nodeType == 1 && el.tagName.toLowerCase() == pTagName.toLowerCase()) // Gecko bug, supposed to be uppercase
\r
13 return getParent(el.parentNode, pTagName);
\r
15 function ts_sort_currency(a,b) {
\r
16 aa = ts_getInnerText(a.cells[SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,'');
\r
17 bb = ts_getInnerText(b.cells[SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,'');
\r
18 return parseFloat(aa) - parseFloat(bb);
\r
20 function checkForUpdate() {
\r
22 document.write("hello from checkForUpdate<br>")
\r
26 function checkForUpdate2() {
\r
28 document.write("hello from checkForUpdate<br>");
\r