function cmdHideButtonOne(){ window.document.getElementById("ShowButton").setAttribute("buttonmode", "hideOne"); } function cmdHideButtonTwo() { window.document.getElementById("ShowButton").setAttribute("buttonmode", "hideTwo"); } function cmdHideAll() { window.document.getElementById("ShowButton").setAttribute("buttonmode", "hideAll"); } function cmdShowAll() { window.document.getElementById("ShowButton").setAttribute("buttonmode", "showAll"); }