(master) made show/hide stock functions. made it so you could define a function for the click handler