<!--
function checkpcode()
{
	document.all.hzoekppcodenr.value = "";
	a= document.all.zoekppcodenr.value;
		
	if (a.length == 0)
	{
		alert('Postcode veld is leeg');
		document.all.zoekppcodenr.focus();
		document.all.zoekppcodenr.select();
		return false
	}else
	{
		for (i = 0;  i < 4;  i++)
		{
			ch = a.charAt(i);
			if (ch != '0')
			{
				if (! parseInt(ch)) 
				{
					alert('Onjuiste postcode.');
					document.all.zoekppcodenr.focus();
					document.all.zoekppcodenr.select();
					return false; 
				}
			}
		}
		document.all.hzoekppcodenr.value = a;
		return true;	
	}
}

function checkplaats()
{
		
		
	a= document.all.hzoekplaats.value;
	varx = a.length;
	if (a.length == 0)
	{
		alert('Plaats veld is leeg');
		document.all.hzoekplaats.focus();
		document.all.hzoekplaats.select();
		return false
	}else
	{	
		if (a.charCodeAt(0)==32)
		{
			alert('Plaats veld is leeg');
			document.all.hzoekplaats.focus();
			document.all.hzoekplaats.select();
			return false	
		}else
		{
			document.all.hzoekplaats.value = a;
			return true;	
		}
	}
	document.all.hzoekplaats.value = "";
}