// javascript bladeren
function kleur_anders(element,kleur,status) {
	element.style.backgroundColor = kleur;
	element.style.cursor ='hand';
	window.status=status;
}
function kleur_terug(element,kleur,status) {
	element.style.backgroundColor = kleur;	
	element.style.cursor ='auto';
	window.status=status;
}

function setRijen(aantal){
	document.forms.bladerform.r.value=aantal;
	sendForm();
}

function setVanaf(vanaf){
	document.forms.bladerform.v.value=vanaf;
	sendForm();
}

function sendForm() {
	document.forms.bladerform.submit();
}

function mailnaar(naam, domein) {
	document.write("<a href='mailto:" + naam + "@" + domein+ "'");
}

function popupje(url,naam,breedte,hoogte,toolbar,menubar,status,scrollbar,resizable,location) {
	pleklinks = (screen.width)?(screen.width-breedte)/2:0;
	plektop = (screen.height)?(screen.height-hoogte)/2:0;
	if (toolbar == null) toolbar = "no";
	if (menubar == null) menubar = "no";
	if (location == null) location = "no";
	if (status == null) status = "no";
	if (scrollbar == null) scrollbar = "no";
	if (resizable == null) resizable = "no";
	OpenWindow = window.open(url,naam,"toolbar="+toolbar + ",status=" + status + ",menubar="+menubar+",location=" + location + ",scrollbars=" + scrollbar + ",resizable=" + resizable + ",location=" + location + ",width=" + breedte + ",height=" + hoogte + ",left=" + pleklinks + ",top=" + plektop);
}


