rem: var element = document.getElementById(id + "_panel"); if(element.style.display=="none") { showCategory(id); } else { hideCategory(id); } } 
add: var element = document.getElementById(id + "_panel"); if(element.style.display=="none") { showCategory(id); } else { hideCategory(id); } } 
context: 	function toggleVisibility(id) {	    var element = document.getElementById(id + "_panel");	    if(element.style.display=="none")	    {	        showCategory(id);	    }	    else	    {	        hideCategory(id);	    }	}
meta: 9897	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9897/aa3cfe0355bb63a18f28f853c13d4daf996b9768/collapsiblePanel.js/buggy/website/js/collapsiblePanel.js