﻿

function decoche(id) {
    return;
}

$(document).ready(function() {

    function redirect(url) {
        document.location.href = url;
    }
    
    $('#r1 input').click(function() {
        var current_input = $(this).attr("id");
        $('#r1 input').each(function() {
            if ($(this).attr("id") != current_input)
                $(this).attr('checked', false);
        });
    });
    $('#r4 input').click(function() {
        var current_input = $(this).attr("id");
        $('#r4 input').each(function() {
            if ($(this).attr("id") != current_input)
                $(this).attr('checked', false);
        });
    });
    $('#r6 input').click(function() {
        var current_input = $(this).attr("id");
        $('#r6 input').each(function() {
            if ($(this).attr("id") != current_input)
                $(this).attr('checked', false);
        });
    });

    /*function ValidateCheckBoxList(sender, args) {
    var objCheckBoxList = document.getElementById(sender.toString());
    if (objCheckBoxList != null) {
    for (var i = 0; i <= objCheckBoxList.cells.length - 1; i++) {
    if ((objCheckBoxList.cells[i].children[0].checked == true) && (objCheckBoxList.cells[i].children[1].innerText.indexOf("Other") > -1)) {
    args.IsValid = false;
    return;
    }
    }
    return;
    }
    }

        }
    }*/
});