function checkFrom(pForm) {		
	for(i = 0; i < pForm.elements.length; i++) {
		if(pForm.elements[i].type == "checkbox" && pForm.elements[i].checked) {
			pForm.submit();	
			return;
		}
	}
	alert("Не отмечен ни один курс!");
}
