function resize(){
	var heightCell = (getDocHeight()-230)+'px';
	document.getElementById("mcol").style.height = heightCell;
}

function getDocHeight() {
	var D = document;
	return Math.max(
		Math.max(D.body.scrollHeight, D.documentElement.scrollHeight),
		Math.max(D.body.offsetHeight, D.documentElement.offsetHeight),
		Math.max(D.body.clientHeight, D.documentElement.clientHeight)
	);
}
function elID(id){
    return document.getElementById(id);
}
function submitForm(field){

    switch(field){
        case 'fab':
            elID('hoofdgroepid').value=0;
            //break;
        case 'hgroep':
            elID('groepid').value=0;
            //break;
        case 'groep':
            elID('artid').value=0;
           // break;
        case 'art':
            elID('art2id').value=0;
           // break;
        case 'art2':
           // break;
        default:
            break;
    }
    document.zoekform.submit();
}

