var tid;
function clicksenderself(thisControll) {
	var objElements = thisControll.form.elements;
		
	tid = setTimeout(func,1000);

	if (objElements[22].checked == true){
		objElements[22].checked == true;
	}
	
	if(thisControll.checked == true || objElements[22].checked == true) {
    		changeDisabledDest( thisControll.form, false);
	}else {
    		changeDisabledDest( thisControll.form, true);
	}
}

function changeDisabledDest(objForm, value) {
	var objElements = objForm.elements;
	
	for(var i=23; i < 42 ; i++) {
		objElements[i].disabled =  value;
		if(value) {
	    		objElements[i].style.backgroundColor = "#C0C0C0";
		}else {
	    		objElements[i].style.backgroundColor = "#FFFFFF";
		}
	}
}
function func()
{
	clearTimeout(tid);
}
