// Set the UI theme from the Configuration Element
UItheme = application.ptSocialMedia.getUItheme();
// load jQuery headers
application.ptSocialMedia.scripts.loadJQuery(noconflict=1);
// load header for jQuery UI
application.ptSocialMedia.scripts.loadJQueryUI(themeName=UItheme);
// load headers for ADF lightbox
application.ptSocialMedia.scripts.loadADFLightbox();
// load headers for jQuery Cookie
application.ptSocialMedia.scripts.loadJQueryCookie();
// load header for social media admin style sheet
application.ptSocialMedia.socialMediaService.loadSocialMediaAdminCSS();
// Set the manageTab file version
request.smManageTabsVersion = "2.0";
// Get the selected Service Types
serviceTypeList = application.ptSocialMedia.getServiceTypeList();
// Workaround for old management CUSTOM SCRIPT file names
// - Moving forward new service management include files should be named: manage_#serviceType#_header.cfm
serviceSuffix = StructNew();
serviceSuffix["facebook"] = "pages";
serviceSuffix["twitter"] = "accounts_keywords";
serviceSuffix["youtube"] = "channels";
serviceSuffix["wordpress"] = "blogs";
application.ADF.scripts.addFooterJS(uiTabsFooterJS,"TERTIARY");