<input id='bigclassauthorize' type='checkbox' onclick='testClickBigCheckBox()'/>
<input id='smallclassauthorize1' type='checkbox'/>
function testClickBigCheckBox(){
var big = document.getElementById('bigclassauthorize');
var small1 = document.getElementById('smallclassauthorize1');
if(big.checked == true){
small1.checked = true;
}else{
small1.checked = false;
}
}