appConfigStruct = application.prPortlet.getAppConfig();
UItheme = 'redmond';
// Set the UI theme from the Configuration Element
if ( LEN(TRIM(appConfigStruct['portlet_ui_theme'])) )
UItheme = appConfigStruct['portlet_ui_theme'];
// load jQuery headers
application.ADF.scripts.loadJQuery();
// load jQueryUI headers
application.ADF.scripts.loadJQueryUI(themeName=UItheme);