');
}
else
{
document.writeln( '<' + 'script src="/tweb/public/req9.4-0.24.0-1248-564000?getStaticPage=' + src + '" type="text/javascript">');
}
}
function loadCAToolkit( tkId )
{
switch( tkId )
{
case "none":
break;
case "basic":
loadCAScript( "/CaControls/scripts/common/common_basic.js" );
break;
case "enhanced":
loadCAScript( "/CaControls/scripts/common/common_basic.js" );
loadCAScript( "/CaControls/scripts/common/common_enhanced.js" );
loadCAScript( "/CaControls/scripts/common/common_msghandler.js" );
break;
case "buttons":
loadCAScript( "/CaControls/scripts/common/common_basic.js" );
loadCAScript( "/CaControls/scripts/common/common_enhanced.js" );
loadCAScript( "/CaControls/scripts/gui/gui_basic.js" );
break;
case "popup":
loadCAScript( "/CaControls/scripts/common/common_basic.js" );
loadCAScript( "/CaControls/scripts/common/common_enhanced.js" );
loadCAScript( "/CaControls/scripts/gui/gui_basic.js" );
loadCAScript( "/CaControls/scripts/gui/gui_popup.js" );
break;
case "extended":
loadCAScript( "/CaControls/scripts/common/common_basic.js" );
loadCAScript( "/CaControls/scripts/common/common_enhanced.js" );
loadCAScript( "/CaControls/scripts/common/common_container.js" );
loadCAScript( "/CaControls/scripts/gui/gui_basic.js" );
loadCAScript( "/CaControls/scripts/gui/gui_popup.js" );
loadCAScript( "/CaControls/scripts/gui/gui_extended.js" );
break;
case "listbox":
loadCAScript( "/CaControls/scripts/common/common_basic.js" );
loadCAScript( "/CaControls/scripts/common/common_enhanced.js" );
loadCAScript( "/CaControls/scripts/gui/gui_basic.js" );
loadCAScript( "/CaControls/scripts/gui/gui_popup.js" );
loadCAScript( "/CaControls/scripts/gui/gui_listbox.js" );
break;
case "listcontrol":
loadCAScript( "/CaControls/scripts/common/common_basic.js" );
loadCAScript( "/CaControls/scripts/common/common_enhanced.js" );
loadCAScript( "/CaControls/scripts/gui/gui_basic.js" );
loadCAScript( "/CaControls/scripts/gui/gui_popup.js" );
loadCAScript( "/CaControls/scripts/gui/gui_listbox.js" );
loadCAScript( "/CaControls/scripts/gui/gui_listctrl.js" );
break;
case "settings":
loadCAScript( "/CaControls/scripts/common/common_basic.js" );
loadCAScript( "/CaControls/scripts/common/common_enhanced.js" );
loadCAScript( "/CaControls/scripts/gui/gui_basic.js" );
loadCAScript( "/CaControls/scripts/gui/gui_popup.js" );
loadCAScript( "/CaControls/scripts/gui/gui_listbox.js" );
loadCAScript( "/CaControls/scripts/gui/gui_tablist.js" );
loadCAScript( "/CaControls/scripts/gui/gui_pdmctrl.js" );
break;
case "container":
loadCAScript( "/CaControls/scripts/common/common_basic.js" );
loadCAScript( "/CaControls/scripts/common/common_enhanced.js" );
loadCAScript( "/CaControls/scripts/common/common_container.js" );
loadCAScript( "/CaControls/scripts/gui/gui_basic.js" );
loadCAScript( "/CaControls/scripts/gui/gui_popup.js" );
loadCAScript( "/CaControls/scripts/gui/gui_container.js" );
break;
case "controls":
loadCAScript( "/CaControls/scripts/common/common_basic.js" );
loadCAScript( "/CaControls/scripts/common/common_enhanced.js" );
loadCAScript( "/CaControls/scripts/gui/gui_controls.js" );
break;
case "framekit": // for deeply customizing
loadCAScript( "/CaControls/scripts/framekit.js" );
break;
case "clientkit": // to use services
loadCAScript( "/CaControls/scripts/services/clientkit.js" );
break;
case "servicekit": // to build service interfaces
loadCAScript( "/CaControls/scripts/services/serviceskit.js" );
break;
case "framemngr":
loadCAScript( "/CaControls/scripts/common/msghandler/cltkframemngr.js" );
break;
case "scrolltab":
loadCAScript( "/CaControls/scripts/gui/cltkscrolltab.js" );
break;
case "post":
loadCAScript( "/CaControls/scripts/gui/ctrlpost.js" );
break;
default:
if( tkId.indexOf( "_" ) > 0 )
{
loadCAScript( "/CaControls/scripts/common/" + tkId + ".js" );
}
else
{
loadCAScript( "/CaControls/scripts/common/common_basic.js" );
loadCAScript( "/CaControls/scripts/common/common_enhanced.js" );
loadCAScript( "/CaControls/scripts/common/common_container.js" );
loadCAScript( "/CaControls/scripts/gui/gui_basic.js" );
loadCAScript( "/CaControls/scripts/gui/gui_popup.js" );
loadCAScript( "/CaControls/scripts/gui/gui_listbox.js" );
loadCAScript( "/CaControls/scripts/gui/gui_tablist.js" );
loadCAScript( "/CaControls/scripts/gui/gui_container.js" );
loadCAScript( "/CaControls/scripts/gui/gui_extended.js" );
}
break;
}
}
function loadToolkitPackage( tkIds )
{
var idList = tkIds.split( "," );
for( var i=0; i < idList.length; i++ )
loadCAToolkit( idList[i] ); // default
}
if( "basic" != "" )
loadToolkitPackage( "basic" );
else
loadToolkitPackage( "none" ); // default is load no toolkit!
');
else
document.writeln( '<' + 'script src="/tweb/public/req9.4-0.24.0-1248-564000?getStaticPage=/CaControls/scripts/services/clientkit.js" type="text/javascript">');