// JavaScript Document
function hide(id){
            document.getElementById(id).style.display = 'none';
}
function show(id){
            document.getElementById(id).style.display = '';
}
function emailCheck(email){
	var email = email;
		ok = isValidEmail(email);
			if(ok == false){
			show('ErrEmailadres');
			return false;
			}else{
			return true;	
			}
}



function isValidEmail(str){
var str=str;
var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
	if (filter.test(str)){
		return true;
	}else{
		return false;
	}

}



