function checkUncheckAll(theElement) {	var theForm = theElement.form, z = 0;	for(z=0; z<theForm.length;z++){		if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall'){			theForm[z].checked = theElement.checked;		}	}}function update_dates(selection) {	var frm = document.getElementById("kies");	frm.begindatum.value = selection;	if(selection == "Kies..."){		frm.begindatum.value="";		frm.einddatum.value="";	}	else {		frm.begindatum.value= "01-01-" + selection;		frm.einddatum.value= "31-12-" + selection;	}}function ShowHide(id, visibility) {    obj = document.getElementsByTagName("img");    obj[id].style.visibility = visibility;}// these functions also remove the space that the object usesfunction show(the_object){	div = document.getElementById(the_object);	div.style.display = '';}function hide(the_object){	div = document.getElementById(the_object);	div.style.display = 'none';}function checkAantal(){//}function studentWindow(get){	var LeftPosition = (screen.width) ? (screen.width-665)/2 : 0;	var TopPosition = (screen.height) ? (screen.height-430)/2 : 0;	var Optie='';	if (document.forms['reactie'].elements['sponsorids'].value!=''){		var Optie="&get="+document.forms['reactie'].elements['sponsorids'].value;	}	else if (get!=''){		var Optie="&get="+get;	}	newWindow = window.open("test.php?item=kiesstudent&grp2=internationaal"+Optie,"Studenten","location=no,toolbar=no,status=no,directories=no,scrollbars=yes,resizable=no,menubar=no,width=700,height=600,top="+TopPosition+",left="+LeftPosition);	newWindow.opener = self;	newWindow.focus();}function ValidateForm(){	return true;	}