Each event that the VMRC browser plug-in generates has associated parameters. The JavaScript handler method that you define for a particular event must accept the same set of parameters that the event API provides. For example, the VMRC event onScreenSizeChange provides two integer parameters: the new screen width and the new screen height. The handler method that you provide for the onScreenSizeChange event must likewise accept the two integer values for width and height as parameters.