// JavaScript Document
<!--
 function showHideItems(myItem, myButton){
    //function to display or hide a given element
    var myItem = document.getElementById(myItem);//ID of the hidden item
    var myButton = document.getElementById(myButton);//ID of the plus/minus button image
    var myShow = document.getElementById(myShow);//ID of the hide/show text and buttom

    if (myItem.style.display != "none") {
        //items are currently displayed, so hide them
        myItem.style.display = "none";
        swapImage(myButton,"plus");
    }
    else {
        //items are currently hidden, so display them
        myItem.style.display = "block";
        swapImage(myButton,"minus");
   }
 }

 function showHideItems_2(myItem, myButton, myShow){
    //function to display or hide a given element
	//Revised to hide text saying click to show rest of article when rest of article is shown
    var myItem = document.getElementById(myItem);//ID of the hidden item
    var myButton = document.getElementById(myButton);//ID of the plus/minus button image
    var myShow = document.getElementById(myShow);//ID of the hide/show text and buttom

    if (myItem.style.display != "none") {
        //items are currently displayed, so hide them
        myItem.style.display = "none";
        swapImage(myButton,"plus");
    }
    else {
        //items are currently hidden, so display them
        myItem.style.display = "block";
        swapImage(myButton,"minus");
        myShow.style.display = "none";// hide choice to show/hide - will not always be shown
   }
 }


 function swapImage(myImage, state) {
 //function to swap an image based on its current state
    if (state == "minus") {
        myImage.src = "Images/minus.png";
    }
    else {
        myImage.src = "Images/plus.png";
    }
 }

-->
