// class for current page info
function PageVar( oInNodeInfo, iInCharsetID, bInIsTextOnly ){
	this.NodeInfo = oInNodeInfo;
	this.CharsetID = iInCharsetID;
	this.IsTextOnly = bInIsTextOnly;
	this.Parents = new Array();
	this.NodeFullLink_EN = '';
	this.NodeFullLink_TC = '';
	this.NodeFullLink_SC = '';
	this.NodeFullLink_EN_T = '';
	this.NodeFullLink_TC_T = '';
	this.NodeFullLink_SC_T = '';
	
	this.AddParent = function AddParent(oInNodeInfo){
		this.Parents[this.Parents.length] = oInNodeInfo;
	}
	this.IsParent = function IsParent(iInNodeID){
		for( var i = 0; i < this.Parents.length; i++ ){
			if( iInNodeID == this.Parents[i].NodeID ){
				return true;
			}
		}
		return false;
	}
}

function NodeInfo( iInNodeID, nInLevelNo, sInPageName, sInNodeLink ){
	this.NodeID = iInNodeID;
	this.LevelNo = nInLevelNo;
	this.PageName = sInPageName;
	this.NodeLink = sInNodeLink;
}

function DateTimeInfo(){
	this.StartTime;
	this.ExpireTime;
	this.ReviewTime;
	this.RevisionTime;
}

