div.tableContainer{
    overflow: auto;
}

div.tableContainer thead th, div.tableContainer thead td{
    position: relative;
/*top: expression(document.getElementById('tbl-container').scrollTop-2);*/
    top: expression(parentNode.parentNode.parentNode.parentNode.scrollTop);
    z-index: 20;
    cursor: default;
}

div.tableContainer thead th.locked {
    z-index: 30;
}

td.locked, th.locked{
    position: relative;
    left: expression(parentNode.parentNode.parentNode.parentNode.scrollLeft); /*IE5+ only */
    z-index: 10;
}