function CheckAll(groupID, evt) {
if (window.event) //屏蔽父事件响应(例如:点击某一个复选框时,其行事件不响应)
{
event.cancelBubble = true;
} else if (evt) {
evt.stopPropagation();
}
if ($("#" + groupID).attr('checked')) {
$("#blueprint" + groupID.substring(6)).find(':checkbox').each(
function () {
$(this).attr('checked', 'checked');
}
);
} else {
$("#blueprint" + groupID.substring(6)).find(':checkbox').each(
function () {
$(this).attr('checked', '');
}
);
}
}