});
};
/**
* 复选变单选
*/
function checkBoxToRadio(cb) {
$(":checkbox[name=" + cb + "]").each(function() {
$(this).click(function() {
if ($(this).attr("checked")) {
$(":checkbox[name=" + cb + "]").removeAttr("checked");
$(this).attr("checked", "checked");
}
});
});
};