Rico_CONFIG = { jsDir: "../../ricoClient/js/", // directory containing Rico's javascript files cssDir: "../../ricoClient/css/", // directory containing Rico's css files imgDir: "../../ricoClient/images/", // directory containing Rico's image files enableLogging: false, // enable console logging grid_striping: true, // apply row striping to LiveGrids? LoadBaseLib: true, // load base Javascript library (prototype, jQuery, etc) from Rico directory? jQuery_theme_path: "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/", initialize: function(checkQueryString) { this.transDir=this.jsDir+"translations/"; this.baselibsDir=this.jsDir+"baselibs/"; var theme,lib,aParm,log; if (checkQueryString) { var s=location.search; if (s.charAt(0)=='?') s=s.substr(1); var aSearch=s.split(/&/); for (var i=0; i"); this.requireRicoJS(""); this.requireRicoJS(adapter); document.write(""); this.requireRicoCSS("rico"); this.requireRicoJS("UI"); }, // set theme // "j-ui-lightness" for a Themeroller theme // "r-greenHdg" for a native Rico theme LoadTheme: function(theme) { var prefix=theme.charAt(0); theme=theme.substr(2); switch (prefix) { case 'j': this.requireRicoJS("Themeroller"); document.write(""); document.write(""); break; case 'r': this.requireRicoCSS(theme); break; } if (this.grid_striping) document.write(""); }, requireRicoJS: function(filename) { document.write("\n"); }, requireRicoCSS: function(filename) { document.write("\n"); } } Rico_CONFIG.initialize(true); // load settings from QueryString? true for demo, false for production