/*
 * Properties definitions
 * By wch3116
 * 04/10/2008
 */
 
/*** begin ***/

// app properties
var $app = {};

$app.context = {
	root : window['$ctx'] || ''
};

var $ctx = $app.context.root;

// Service properties
var $svc = {
	xmlrpc : $ctx + '/service/xmlrpc',
	jsonrpc : $ctx + '/service/jsonrpc',
	webdata : $ctx + '/service/webdata/',
	filesystem : $ctx + '/service/filesystem/',
	docsystem : $ctx + '/service/docsystem/',
	thumb : $ctx + '/service/thumb/',
	proxyUrl: $ctx + '/proxy'
};

// ext blank image url
var $blankimg = '/common/extjs/resources/images/default/s.gif';
var $logoimg = $ctx + '/images/logo-sba-passport.gif';

var $navMenu = 'mainMenu2';

var $imageUrl = 'http://byfiles.storage.localhost.homolo.com:8080/';
//var $filestorage = 'http://byfiles.storage.lawyers.org.cn/file/';
var $filestorage = $svc.filesystem;

var $security = {
	loginUrl : $ctx + '/j_spring_security_check',
	logoutUrl : $ctx + '/j_spring_security_logout',
	defaultTarget : $ctx + '/user/'
};

// debug switch
var $debug = 'on'; // on|off

/*** end ***/
