﻿function ListItemVerify(val) {
    var target = document.all[val.controltovalidate];
    var col = target.getElementsByTagName('*');
    if (col.length == 0 || col.length == null) {
        col = target.all;
    }
    if (col != null) {
        for (i = 0; i < col.length; i++) {
            if (col.item(i).tagName == 'INPUT') {
                if (col.item(i).checked) {
                    return true;
                }
            }
        }
        return false;
    }
}