// load localization of rialtoEngineFolder
var t0=(new Date()).getTime();

var rialtoConfig =  {	version : 0.85,
						isDebug 		: false,						
						isTestVersion 	: false,
						language	    : 'en'
				 };

rialtoConfig.t0=t0;


// protocol file: absolute local path for rialtoEngine
if (document.location.protocol ==  "file:"){
	rialtoConfig.isFilePath=true;
	rialtoConfig.pathRialtoE = 'file:///G:/data/WORKSPACES/rialto/Rialto-core/rialtoEngine/';
}
// protocol http: ; (relative path) url for rialtoEngine  
else{
	if (document.location.protocol ==  "http:"){
		rialtoConfig.isFilePath=false;
		rialtoConfig.pathRialtoE = '/rialto/rialtoEngine/';
	}	
}
//save the path name	
rialtoConfig.pathName=document.location.pathname;

rialtoConfig.skin = 'standart';

//-----------------------------------------------------------------------------------

if (rialtoConfig.isTestVersion)
	rialtoConfig.skin = 'test';

rialtoConfig.baseIdCssWithSkin 	= 'behavior';
rialtoConfig.skinList 			= ['standart','test'];

rialtoConfig.baseIdCssComposer			= 'composer';
rialtoConfig.extIdCssComposerDesignMode = 'design';
rialtoConfig.extIdCssComposerTryMode 	= 'try';

rialtoConfig.userAgentIsIE = (navigator.appName == "Microsoft Internet Explorer");	
rialtoConfig.userAgentIsGecko = (navigator.userAgent.indexOf('Gecko') != -1);

