//***************************************************************************************
//	7WX API set 1.1 for Action Orient Programming (Leebai) 
//  Copyright 2002-2006 XJAWA   libq@xjawa.org

//***************************************************************************************

//系统程序路径
function system_path(){
	this.servletRoot = "";
	this.webRoot = "";

	//系统程序路径
	//this.message= this.servletRoot+"/servlet/org.xjawa.system.MessageServlet";			//MessageServlet路径
	this.misc= this.servletRoot+"/servlet/org.xjawa.system.MiscServlet";			//MiscServlet路径
	this.authority=this.servletRoot+"/servlet/org.xjawa.system.AuthorityServlet";//权限servlet路径
	this.Studio= this.servletRoot+"/servlet/org.xjawa.system.StudioServlet";			//StudioServlet路径
	this.fileview=this.servletRoot+"/servlet/org.xjawa.fileview.FileView";
	this.dbview=this.servletRoot+"/servlet/org.xjawa.dbview.DBView";
	this.dbquery=this.servletRoot+"/servlet/org.xjawa.dbview.DBQuery";
	//this.UIEngine=this.servletRoot+"/servlet/org.xjawa.system.UIEngine";


	//公共程序路径
	//this.user=this.servletRoot+"/servlet/org.xjawa.user.User";	//用户管理servlet路径
//	this.user=this.servletRoot+"/servlet/com.cpn.user.User";	//用户管理servlet路径
	//this.outuser=this.servletRoot+"/servlet/com.cpn.user.OutUser";	//用户注册servlet路径

	this.CMSServlet= this.servletRoot+"/servlet/com.xjawa.cms.CMSServlet";				//CMSservlet路径
	this.cms5= this.servletRoot+"/servlet/com.xjawa.cms5.ContentManager";				//new CMSservlet路径
	this.cms5type= this.servletRoot+"/servlet/com.xjawa.cms5.TypeManager";			
	//this.bbs=this.servletRoot+"/servlet/com.xjawa.bbsnew.BBSServlet";
	//this.bbsst=this.servletRoot+"/servlet/com.xjawa.bbsnew.BBSStatic";
	//this.msgboard=this.servletRoot+"/servlet/com.xjawa.msgboard.MsgBoard";
	//this.vote=this.servletRoot+"/servlet/com.xjawa.vote.Vote";


	//在此添加项目程序路径 
	this.affirmance= this.servletRoot+"/servlet/cn.uaa.CarIS.callout.Affirmance";
	this.bargain = this.servletRoot + "/cn.uaa.CarIS.Bargain"; //新框架注册路径不需要加/servlet前缀
	this.vehicleClass = this.servletRoot + "/cn.uaa.CarIS.vehicleclass.vehicleClass";//车辆级别
	this.vehicleCompany = this.servletRoot + "/cn.uaa.CarIS.vehiclecompany.vehicleCompany";//车辆生产厂家
	this.vehicleMode = this.servletRoot + "/cn.uaa.CarIS.vehiclemode.vehicleMode";//车辆厂牌型号
	this.peccancyitem = this.servletRoot + "/cn.uaa.CarIS.peccancy.peccancyitem";//车辆违章项目
	this.balanceitem = this.servletRoot + "/cn.uaa.CarIS.balanceitem.balanceitem";//车辆收费项目
	this.balanceitem = this.servletRoot + "/cn.uaa.CarIS.balanceitem.balanceitem";//车辆收费项目
	this.price = this.servletRoot + "/cn.uaa.CarIS.price.price";//车辆租金
	
		
	//以下属性已废弃，为兼容老程序保留
	this.path = this.webRoot;
	this.systemManagerPath= this.webRoot + "/system";
	this.systemImgPath= this.webRoot + "/system/img"
	this.templatePath= this.webRoot + "/cms/template";							
	this.cmsManagerPath= this.webRoot + "/cms/manager";
	this.cmsManagImg= this.webRoot + "/cms/manager/image";
	this.cmsImagePath= this.webRoot + "/cms/sysimg";
	this.cmsEditPath= this.webRoot + "/cms/manager/edit";
	this.cmsDataPath= this.webRoot + "/cms/data";
	this.userManagPath= this.webRoot + "/user";
	this.userImagePath= this.webRoot + "/user/image";
	this.searchPath= this.webRoot + "/cms/search"

}
//外部使用的全局变量
systemPath=new system_path();

//其他函数
document.writeln("<link href='"+systemPath.webRoot+"/commonjs/css/7wx.css' type='text/css' rel='stylesheet'>");
document.writeln("<script src='"+systemPath.webRoot+"/commonjs/sys_core.js'></"+"script>");
document.writeln("<script src='"+systemPath.webRoot+"/commonjs/sys_tree.js'></"+"script>");
document.writeln("<script src='"+systemPath.webRoot+"/commonjs/sys_list.js'></"+"script>");
document.writeln("<script src='"+systemPath.webRoot+"/commonjs/sys_form.js'></"+"script>");
document.writeln("<script src='"+systemPath.webRoot+"/commonjs/sys_misc.js'></"+"script>");
document.writeln("<script src='"+systemPath.webRoot+"/commonjs/calendar.js'></"+"script>");
document.writeln("<script src='"+systemPath.webRoot+"/commonjs/sys_navi.js'></"+"script>");

