function check()
{
with (window.document.autovz)
{
	if (kenteken.value == "")
		{
		alert("Vul alstublieft je volledige kenteken in.")
		kenteken.focus(); 
		return false;
		}
	if (postcode.value == "")
		{
		alert("Vul alstublieft je postcode in.")
		postcode.focus(); 
		return false;
		}
	if (postcode.value.length < 4)
		{
		alert("Vul alstublieft een correcte postcode in.")
		postcode.focus(); 
		return false;
		}
		
	if ((kenteken.value.length>8) || (kenteken.value.length<6)) 
		{
		alert("Je hebt een onjuist kenteken ingevuld."); 
		kenteken.focus(); 
		return false;
		}	

return true;
}}   

//AUTOTAB FOR DATE FIELDS
function autotab(original,destination)
{
if (original.getAttribute&&original.value.length==original.getAttribute("maxlength"))
destination.focus()
} 