function uncheck(checkboxId){

	$("#"+checkboxId).removeAttr("disabled");
	$("#"+checkboxId).removeAttr("checked");
}

function check(checkboxId){
	$("#"+checkboxId).attr("checked","checked");
	
}
function checkAndDisable(thisBox, checkboxId){
	var coche = $("#"+checkboxId).attr("checked");
	var thisBoxChecked = $("#"+thisBox).attr("checked");
	//Coche et met en RO
	//La case est decochee on enable l'autre
	if((thisBoxChecked == "undefined") || (thisBoxChecked == false) || (thisBoxChecked == null)){
	   $("#"+checkboxId).removeAttr("disabled");
	   $("#"+checkboxId).removeAttr("checked");
	}	
	//La case a ete cochee, on coche l'autre et disabled
	else{
	   $("#"+checkboxId).attr("checked","checked");
        $("#"+checkboxId).attr("disabled","true");
	}
	
}

