﻿// JScript File

function CheckAllForDeleting(id){
    var tbl = document.getElementById(id);
    if (tbl == null) return;
    
    var status = tbl.rows[0].cells[0].childNodes[1].checked;
    
    for(var i = 1; i < tbl.rows.length; i++)
        tbl.rows[i].cells[0].childNodes[1].checked = status;
};
