// JavaScript Document
	function foldOut(question, imgquestion){
		answer = document.getElementById(question);
		collapse = document.getElementById(imgquestion);
			
		if(answer.style.display == "block"){
			answer.style.display = "none"; 
			collapse.src = "../images/dot.gif"; }
		else{
			answer.style.display = "block";
			collapse.src = "../images/dot.gif";
			
			if(question.indexOf ('categorie') == -1){
				for(i=1;i<6;i++){
					collapseother = "vraag" + i;
					otherimage = "collapse" + i;
					
					othercollapse = document.getElementById(collapseother);
					collapseimage = document.getElementById(otherimage);
								
					if(collapseother!=question){
						othercollapse.style.display = "none";
						collapseimage.src = "../images/dot.gif";
					}
				}
			}
			
			if(question.indexOf ('vraag') == -1){
				for(i=1;i<3;i++){
					collapseother = "categorie" + i;
					otherimage = "catcollapse" + i;
					
					othercollapse = document.getElementById(collapseother);
					collapseimage = document.getElementById(otherimage);
								
					if(collapseother!=question){
						othercollapse.style.display = "none";
						collapseimage.src = "../images/dot.gif";
					}
				}
			}
			
			}
	}