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