function resize_hunt() { if (no scrollbars) { if (names turned off) show names if (scrollbars AND electrons turned off) show electrons } if (scrollbars) { if (electrons turned on) hide electrons if (scrollbars AND names turned on) hide names } }