// hier alle algemeen te gebruiken javascript

function sitepopup(pagina) {
	//alert(pagina);
	if (window.pupWindow == null) {
	pupWindow=window.open(pagina,'popup','toolbar=no,location=0,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=620,height=600,top=0,left=0');
	};
	if (window.pupWindow != null){
	if (pupWindow.closed) { 
		pupWindow=window.open(pagina,'popup','toolbar=no,location=0,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=620,height=600,top=0,left=0');
		};
	pupWindow.focus();
	}
}

function checkforblanks(){
	var returntekst = "";
	for (var i = 0; i < arguments.length; i += 2)
		{
		if (!arguments[i]){
			returntekst = returntekst + arguments[i+1] + " - " ;
			}
		}
	return returntekst;
}

function ChkLeeg(formObj){
	if ( formObj.zoekterm.value.length  < 3 )
		{
			alert("Voer een zoekterm in (minimaal 3 characters)");
			return (false);
		}; 
	return (true);
} 

function SBISNS(email1,email2) {
var tag1 = "mail";
var tag2 = "to:";
var aap = "@";
var SBISNS = tag1 + tag2 + email1 + aap + email2 ;
window.location = SBISNS;
}
