function checkAll(strForm,strCheckbox){
    var strType = "checkbox"
	var aInput = eval("document." + strForm + ".elements")
	var T	
	for (a=0; a < aInput.length; a++) {
		T = aInput[a].type
		T = T.toLowerCase()
		if ( T.indexOf(strType) > -1 ){
			//alert(aInput[a].type)
			if (aInput[a].name == strCheckbox){
				//alert(aInput[a].name)
				aInput[a].checked=true
			}	
		}
	}
}
function uncheckAll(strForm,strCheckbox){
    var strType = "checkbox"
	var aInput = eval("document." + strForm + ".elements")
	var T	
	for (a=0; a < aInput.length; a++) {
		T = aInput[a].type
		T = T.toLowerCase()
		if ( T.indexOf(strType) > -1 ){
			//alert(aInput[a].type)
			if (aInput[a].name == strCheckbox){
				//alert(aInput[a].name)
				aInput[a].checked=false
			}	
		}
	}
}
