rem: if(cell.hasAttribute('sv')) 
add: if(hasAttr(cell, 'sv')) 
context: function ts_makeSortable(table) {    if (table.rows && table.rows.length > 0) {        var firstRow = table.rows[0];    }    if (!firstRow) return;        // We have a first row: assume it's the header, and make its contents clickable links    for (var i=0;i<firstRow.cells.length;i++) {        var cell = firstRow.cells[i];        var txt = ts_getInnerText(cell);        cell.innerHTML = '<a href="#" class="sortheader" onclick="ts_resortTable(this, '+i+');return false;">'+txt+'<span class="sortarrow">&nbsp;&nbsp;&nbsp;</span></a>';    }        //IWD:    // For other rows, look for sv='...' and convert to fsv    // (Sort Value [text, attribute] and Float Sort Value [number, property])    for(var r = 1; r < table.rows.length; r++)    {        var row = table.rows[r];        for(var c = 0; c < row.cells.length; c++)        {            var cell = row.cells[c];            // This works in Safari *and* Firefox (and hopefully IE)            if(cell.hasAttribute('sv'))                cell.fsv = parseFloat(cell.getAttribute('sv'))        }    }}
meta: 5448	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5448/d55a6dcb29ed960088121c38568caf220319527f/sorttable.js/clean/public_html/js/sorttable.js