/*
 * Properties definitions
 * By wch3116
 * 04/10/2008
 */
 
/*** begin ***/

// app properties
var $app = {};

$app.context = {
	root : window['$ctx'] != null ? window['$ctx'] : '/hi'
};

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 = $app.context.root + '/images/logo.gif';

// debug switch

var $debug = 'on'; // on|off

var $navMenu = 'mainMenu';

var $infopreview = $ctx + '/preview.jsp?id=';
var $filestorage = $svc.filesystem;
var $imagethumb = $svc.thumb;

var $security = {
	verificationCode : $ctx + '/Kaptcha.jpg',
	loginUrl : $ctx + '/j_spring_security_check',
	logoutUrl : $ctx + '/j_spring_security_logout',
	defaultTarget : $ctx + '/admin/'
};

var $config = {
	// 用户系统

	
	// 内容管理

};

var $defaluts = {};
$defaluts.cms = {

};

/*** end ***/






