// JavaScript Document
function pasaan(wat){
	var veld = document.getElementById('contain');
	if(wat == 'groot'){
		veld.style.fontSize = '1.3em';
	}else if(wat == 'klein'){
		veld.style.fontSize = '1em';
	}
	xmlhttp.open("GET", "/core/php/setsize.php?size=" + wat, true);
	xmlhttp.onreadystatechange = handleHttpResponse;
	xmlhttp.send(null);
}

<!-- menu -->

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("menublok");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;

function searchvalue(todo){
	var v = document.getElementById("zoekveld");
	if(todo){
		if(v.value == ""){
			v.style.color = "#bbb";
			v.value = "zoek";
		}
	}else{
		if(v.value == "zoek"){
			v.value = "";
			v.style.color = "#000";
		}
	}
}

function verwijder(pagina, titel, bloglink){
	if(confirm("Wil je het bericht '"+titel+"' zeker verwijderen?\nOok de reacties worden verwijderd.")){
		window.location = '/'+pagina+'/'+bloglink+'/delete'; 
	}
}
