action is controlled by e.g. waterIndex makeToggleButton() calls are in controls.js doToggleButton(xxxIndex) is in jcontrol.js toggleIsDown[slabIndex] is state of buttons in all control panels for that index. setButtonState("down", slabIndex) [jcontrol.js] changes gif images for all control panels. It uses set1ButtonState(state, ibutt#) Note: showHelp(make...Help()) automatically sets helpPanel to "make...Help()". doMolViewSpt() is skipped in FG3.1 for spin, bkg, slab and if viewHasThinBackbone: quality. ------------- ZOOM buttons are handeled by doZoom('-'/'') // not '+'. In top.js.