calGlobalConfig = application.ptCalendar2.getAppConfig();
// Set the UI theme from the Configuration Element
UItheme = 'redmond';
if ( structKeyExists(calGlobalConfig,"calendar_app_ui_theme") AND LEN(TRIM(calGlobalConfig['calendar_app_ui_theme'])) )
UItheme = calGlobalConfig['calendar_app_ui_theme'];
// load jQuery headers
application.ptCalendar2.scripts.loadJQuery();
// load headers for jQuery light box
application.ptCalendar2.scripts.loadADFLightbox();
// load header for jQuery UI
application.ptCalendar2.scripts.loadJQueryUI(themeName=UItheme);
//ManageElementName = "Event Organizations";
ManagePageTitleText = "Manage Organizations";
AddRecordLinkText = "Add New Organization";
AjaxPath = application.ADF.ajaxProxy;
AjaxBean = "forms_1_1";
editForm = "renderAddEditForm";
formID = application.ptCalendar2.getEventOrganizationsFormID();
//formID = application.ptCalendar2.cedata.getFormIDByCEName(ManageElementName);
dpid = 0;
formResultHTML = "";
lightboxwidth = 640;
lightboxheight = 500;
#ManagePageTitleText#