overlay stuff for the popup windown, also put the js code and css code of the overlay and popup window into separate js and css file, called from page.xml