function NodeURL( sInID, oInPageVar ){
	this.ID = sInID;
	this.PageVar = oInPageVar;
	this.NodeID = 0;
	this.LangNo = 0;
	this.IsTextOnly = 0;
	this.PageURL = '';
	
	this.GetNodeURL = function GetNodeURL(){
		var sURL = '';
		if( this.NodeID == 0 ){
			if( this.LangNo == 1 && this.IsTextOnly == 2 ){
				sURL = this.PageVar.NodeFullLink_EN;
			} else if( this.LangNo == 2 && this.IsTextOnly == 2 ) {
				sURL = this.PageVar.NodeFullLink_TC;
			} else if( this.LangNo == 3 && this.IsTextOnly == 2 ) {
				sURL = this.PageVar.NodeFullLink_SC;
			} else if( this.LangNo == 1 && this.IsTextOnly == 1 ) {
				sURL = this.PageVar.NodeFullLink_EN_T;
			} else if( this.LangNo == 2 && this.IsTextOnly == 1 ) {
				sURL = this.PageVar.NodeFullLink_TC_T;
			} else if( this.LangNo == 3 && this.IsTextOnly == 1 ) {
				sURL = this.PageVar.NodeFullLink_SC_T;
			}
		}
		else sURL = this.PageURL;
		return sURL;
	}
}
