mainjs.js
//used by header buttons to set the div state as well as the button text
used by header buttons to set the div state as well as the button text
used by header buttons to set the div state as well as the button text
function SHfuntion(loc) {
    var select = document.getElementById(loc),
        but = document.getElementById(loc.concat("button"));
    if (select.style.display === "none") {
        select.style.display = "block";
        but.textContent = "Hide".concat(but.textContent.slice(4));
    } else {
        select.style.display = "none";
        but.textContent = "Show".concat(but.textContent.slice(4));
    }
}
function SHfuntion ( loc ) { var select = document . getElementById ( loc ) , but = document . getElementById ( loc . concat ( "button" ) ) ; if ( select . style . display === "none" ) { select . style . display = "block" ; but . textContent = "Hide" . concat ( but . textContent . slice ( 4 ) ) ; } else { select . style . display = "none" ; but . textContent = "Show" . concat ( but . textContent . slice ( 4 ) ) ; } }
used by header buttons to set the div state as well as the button text
used by header buttons to set the div state as well as the button text