// Contact From Check

function inputcheck(input)
{
	if(input.value == '')
	{
		input.style.backgroundColor = '#FFCCCC';
	}
	else
	{
		input.style.backgroundColor = '#F1FBED';
	}
}

function formcheck()
{
	var errors = '0';
	
	if(document.getElementById('naam').value == '') { document.getElementById('naam').style.backgroundColor = '#FFCCCC'; errors = '1'; }
	else { document.getElementById('naam').style.backgroundColor = '#F1FBED'; }
	
	if(document.getElementById('tel').value == '') { document.getElementById('tel').style.backgroundColor = '#FFCCCC'; errors = '1'; }
	else { document.getElementById('tel').style.backgroundColor = '#F1FBED'; }
	
	if(document.getElementById('email').value == '') { document.getElementById('email').style.backgroundColor = '#FFCCCC'; errors = '1'; }
	else { document.getElementById('email').style.backgroundColor = '#F1FBED'; }
	
	if(errors == '1') { return false; }
	else { return true; }
}
