//function to display or hide a given element
var currentDiv='default'
function showHideItems(i_myItem, myButton){
//this is the ID of the hidden item
var myItem = document.getElementById(i_myItem);
//Hide the current item!
var currentItem = document.getElementById(currentDiv);
currentItem.style.display = "none";
currentDiv = i_myItem;

//this is the ID of the plus/minus button image
var myButton = document.getElementById(myButton);

    if (myItem.style.display != "none") {

        //items are currently displayed, so hide them

        myItem.style.display = "none";


    }
    else {
	
        //items are currently hidden, so display them
        myItem.style.display = "block";

    }

}
