﻿//***************************************************************************************
//	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.authority=this.servletRoot+"/servlet/com.cpn.user.Auth";//权限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";	
	//this.user=this.servletRoot+"/servlet/com.uaa.xjawa.User";
	this.outuser=this.servletRoot+"/servlet/com.cpn.user.OutUser";	//用户注册servlet路径

	this.cms5import= this.servletRoot+"/servlet/com.xjawa.cms5.ContentImport";				
	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.survey=this.servletRoot+"/servlet/com.xjawa.cms5.survey.SurveyManager";
	this.ProductInfo = this.servletRoot+"/servlet/org.xjawa.hep.rm.ProductInfo";
	this.TransactionManage = this.servletRoot+"/servlet/org.xjawa.hep.rm.TransactionManage";
	this.userinfo=this.servletRoot+"/servlet/org.xjawa.clientinfo.ClientInfo";

	//在此添加项目程序路径


	//实验、演示程序路径
	this.test=this.servletRoot+"/servlet/com.xjawa.test.Test";
	this.testtab=this.servletRoot+"/servlet/aop7wx.TestTab";

}

//外部使用的全局变量
window.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>");
document.writeln("<script src='"+systemPath.webRoot+"/commonjs/sys_query.js'></"+"script>");
