From LimeSurvey Manual
This event is fired just before the survey (during runtime) is displayed on screen. It is fired before any HTML is echoed, so don't echo anything here.
The event receives the following information:
surveyId the id of the current survey
The following information can be set in the event:
template The name of the template to use