completed functions for the industry variant

typical javascript for pop up menu credits go to W3c schools