request.element.isStatic = 0; appConfig = application.ptCalendar.getAppConfig(); // Set the UI theme from the Configuration Element UItheme = application.ptCalendar.getUItheme(); addNewEventLink = ""; if( structKeyExists(appConfig, "new_event_url") and LEN(TRIM(appConfig['new_event_url'])) ) addNewEventLink = appConfig['new_event_url']; // load jQuery headers application.ptCalendar.scripts.loadJQuery(); // load header for jQuery UI application.ptCalendar.scripts.loadJQueryUI(themeName=UItheme);