﻿// JScript File

function ShowDiv(playtd) {
    var index;
    var rows = playtd.offsetParent.rows;
    
    for (i=0; i<rows.length; i++) {
        var td = rows[i].firstChild;
        if (td.nodeName != 'TD') { td = td.nextSibling; }
        td.className = "playRow";
        index = td.id.replace("play", "div");
        document.getElementById(index).style.display = "none";
    }
    playtd.className = "playRowOn";
    index = playtd.id.replace("play", "div");
    document.getElementById(index).style.display = "";
}
