<!--
function jfx_check()
{
	var chEmail = document.getElementById('E-mail').value;
	var chName = document.getElementById('Naam').value;
	var chOpmerk = document.getElementById('Opmerkingen').value;
	//alert(chOption+' '+chEmail);
		//return false; 
	//alert(Email);
	//return false; 
	var chError = ''; 
	ch_IsEmailAddress = true;
	ch_IsName = true;
	ch_IsOpmerk = true;
	// check if @ exists
	if(chEmail.indexOf('@') == -1){
		ch_IsEmailAddress = false;
	}	
	// check if . exists
	if(chEmail.indexOf('.') == -1){
		ch_IsEmailAddress = false;
	}
	// check if spaces exists
	if(chEmail.indexOf(' ') != -1){
		ch_IsEmailAddress = false;
	}
	// check if & exists
	if(chEmail.indexOf('&') != -1){
		ch_IsEmailAddress = false;
	}
	// check if ; exists
	if(chEmail.indexOf(';') != -1){
		ch_IsEmailAddress = false;
	}
	// check if , exists
	if(chEmail.indexOf(',') != -1){
		ch_IsEmailAddress = false;
	}
	// check if blank
	if(chEmail== ''){
		ch_IsEmailAddress = false;
	}
	if(ch_IsEmailAddress == false)
	{
		chError = chError+'- A valid email address required.     \n';
	}
	if(chName == ''){
		ch_IsName = false;
		chError = chError+'- Naam veld is niet gevuld.\n'; 
	}
	//alert(Email+' '+fx_IsEmailAddress);
	if(ch_IsEmailAddress == false || ch_IsName == false)
	{
		chError = 'De volgende fout(en) zijn aanwezig:\n' + chError;
		alert(chError);
		return false; 
	}
	
}
//-->
