function checkMulti()
{
	school = document.getElementsByName('School[]');
	opleiding = document.getElementsByName('Opleiding[]');

	pos = school.length - 1;
	if (school[pos].value.length > 0 || opleiding[pos].value.length > 0)
		addMultiRow();
}

function addMultiRow()
{
	table = document.getElementById('multi');
	row = table.insertRow(table.rows.length);
	school=row.insertCell(0);
	opleiding=row.insertCell(1);
	school.innerHTML='<input type="text" name="Opleiding[]" onblur="javascript:checkMulti();" size="25" />';
	opleiding.innerHTML='<input type="text" name="School[]" onblur="javascript:checkMulti();" size="25" />';
}
