onBeforeShow

Description

Specify the Javascript code to execute before the window is shown.