/* ShowHide Divs */
function hidecats(spanId) {
var spancat = document.getElementsByTagName("span");
for(i = 0; i < spancat.length; i++){
if(spancat[i].id == spanId){
if(spancat[i].style.display != 'none'){
spancat[i].style.display = 'none';
}else{
spancat[i].style.display = '';
}
}
}
}

function showcats(spanId) {
var spancat = document.getElementsByTagName("span");
for(i = 0; i < spancat.length; i++){
spancat[i].style.display = 'block';
}
}