function CreateBookmarkLink(url,title) {
	if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url,"");
	} else if( window.external ) { // IE Favorite
		window.external.AddFavorite( url, title);
	} else if(window.opera && window.print) { // Opera Hotlist
		return true;
	}
}

function CreatePopupWindow(img,width,height) {
	window.open(img,'_new','width='+width+',height='+height+',status=no,scrollbars=no,toolbar=no,location=no,menubar=no,directories=no,resizable=no');
	return;
}

function CheckForm(f) {
	if (f.naam.value == "") {
		alert('Vul aub uw naam in');
		f.naam.focus();
		return(false);
	} else if (f.telefoon.value == "") {
		alert('Vul aub uw telefoonnummer in');
		f.telefoon.focus();
		return(false);
	} else if (f.email.value == "") {
		alert('Vul aub uw e-mail adres in');
		f.email.focus();
		return(false);
	} else if (f.opmerkingen.value == "Vul hier in waarop u wil reageren! Wij nemen dan contact met u op.") {
		alert('Vul aub in waar u op wil reageren');
		f.opmerkingen.focus();
		return(false);
	}
	
	return(true);
}

function CheckDonateurForm(f) {
	if (f.achternaam.value == "") {
		alert('Vul aub uw achternaam in');
		f.achternaam.focus();
		return(false);
	} else if (f.straat.value == "") {
		alert('Vul aub uw straat in');
		f.straat.focus();
		return(false);
	} else if (f.huisnummer.value == "") {
		alert('Vul aub uw huisnummer in');
		f.huisnummer.focus();
		return(false);
	} else if (f.postcode.value == "") {
		alert('Vul aub uw postcode in');
		f.postcode.focus();
		return(false);
	} else if (f.woonplaats.value == "") {
		alert('Vul aub uw woonplaats in');
		f.woonplaats.focus();
		return(false);
	} else if (f.email.value == "") {
		alert('Vul aub uw e-mail adres in');
		f.email.focus();
		return(false);
	}
	
	return(true);
}


