$(function () {
var allBox = $(":checkbox");
allBox.click(function () {
if(this.checked){
allBox.removeAttr("checked");
$(this).attr("checked", "checked");
}
});
});