/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var theSitetree=[ 
	['PAGE','23912',jdecode('landing'),jdecode(''),'/23912.html','true',[],''],
	['PAGE','7401',jdecode('Home'),jdecode(''),'/7401.html','true',[],''],
	['PAGE','8201',jdecode('Product+Suite'),jdecode(''),'/8201.html','true',[],''],
	['PAGE','8222',jdecode('RezWare'),jdecode(''),'/8222/index.html','true',[ 
		['PAGE','8264',jdecode('Scheduled+Events'),jdecode(''),'/8222/8264.html','true',[],''],
		['PAGE','8285',jdecode('UpSales+%26+Inventory'),jdecode(''),'/8222/8285.html','true',[],''],
		['PAGE','8401',jdecode('Customer+tracking'),jdecode(''),'/8222/8401.html','true',[],''],
		['PAGE','8422',jdecode('Documents'),jdecode(''),'/8222/8422.html','true',[],''],
		['PAGE','8443',jdecode('Payment+Processing'),jdecode(''),'/8222/8443.html','true',[],''],
		['PAGE','8464',jdecode('Marketing'),jdecode(''),'/8222/8464.html','true',[],''],
		['PAGE','8485',jdecode('Reporting'),jdecode(''),'/8222/8485.html','true',[],''],
		['PAGE','9001',jdecode('Outside+Sales+Agents'),jdecode(''),'/8222/9001.html','true',[],''],
		['PAGE','8506',jdecode('Customization'),jdecode(''),'/8222/8506.html','true',[],''],
		['PAGE','8701',jdecode('Custom+Events'),jdecode(''),'/8222/8701.html','true',[],''],
		['PAGE','8722',jdecode('Hotels+%26+Properties'),jdecode(''),'/8222/8722.html','true',[],'']
	],''],
	['PAGE','8243',jdecode('RezWEB'),jdecode(''),'/8243.html','true',[],''],
	['PAGE','19001',jdecode('RezWare+Ocho'),jdecode(''),'/19001.html','true',[],''],
	['PAGE','8043',jdecode('News'),jdecode(''),'/8043/index.html','true',[ 
		['PAGE','20712',jdecode('WTA+RezWEB+PR'),jdecode(''),'/8043/20712.html','true',[],''],
		['PAGE','8822',jdecode('Texas+State+RR+PR'),jdecode(''),'/8043/8822.html','true',[],''],
		['PAGE','20812',jdecode('Machu+Pichu+PR'),jdecode(''),'/8043/20812.html','true',[],''],
		['PAGE','20833',jdecode('Financing+PR'),jdecode(''),'/8043/20833.html','true',[],''],
		['PAGE','8801',jdecode('Presentations'),jdecode(''),'/8043/8801.html','false',[],'']
	],''],
	['PAGE','16001',jdecode('Request+Demo'),jdecode(''),'/16001.html','true',[],''],
	['PAGE','8001',jdecode('About+us'),jdecode(''),'/8001/index.html','true',[ 
		['PAGE','18601',jdecode('Qualifications'),jdecode(''),'/8001/18601.html','true',[],'']
	],''],
	['PAGE','8843',jdecode('Customers+'),jdecode(''),'/8843.html','true',[],''],
	['PAGE','8022',jdecode('Service'),jdecode(''),'/8022.html','true',[],''],
	['PAGE','8064',jdecode('Contact'),jdecode(''),'/8064.html','true',[],''],
	['PAGE','21812',jdecode('Jobs'),jdecode(''),'/21812.html','true',[],'']];
var siteelementCount=30;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='A4A4AC';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10344';
theSitetree.graphicsetId='10451';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='A4A4AC';
var theTemplate={
				name: 			'Akropolis',
				paletteFamily: 	'A4A4AC',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10344',
				graphicsetId: 	'10451',
				contentColor: 	'FFFFFF',
				contentBGColor: 'A4A4AC',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'A4A4AC',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7401',
internalId:  '',
customField: '20100115-215351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8222',
internalId:  '',
customField: '20100114-105117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8264',
internalId:  '',
customField: '20100111-234133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8285',
internalId:  '',
customField: '20100112-002335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8401',
internalId:  '',
customField: '20100110-233047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8422',
internalId:  '',
customField: '20100111-234101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8443',
internalId:  '',
customField: '20100112-002226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8243',
internalId:  '',
customField: '20100114-152814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8843',
internalId:  '',
customField: '20100114-145632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8043',
internalId:  '',
customField: '20100115-205141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8801',
internalId:  '',
customField: '20100111-004213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8201',
internalId:  '',
customField: '20100114-175314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8464',
internalId:  '',
customField: '20100112-002606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8485',
internalId:  '',
customField: '20100114-162501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9001',
internalId:  '',
customField: '20100114-162558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8506',
internalId:  '',
customField: '20100114-112107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8701',
internalId:  '',
customField: '20100114-173322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8722',
internalId:  '',
customField: '20100114-172624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8001',
internalId:  '',
customField: '20100114-152427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8822',
internalId:  '',
customField: '20100115-195933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8022',
internalId:  '',
customField: '20100115-210330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8064',
internalId:  '',
customField: '20100111-091800'
};
webappMappings['7008']=webappMappings['7008-6249']={
webappId:    '7008',
documentId:  '16001',
internalId:  '6249',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16001',
internalId:  '',
customField: '20100114-151046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19001',
internalId:  '',
customField: '20100114-175047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18601',
internalId:  '',
customField: '20100114-164124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20712',
internalId:  '',
customField: '20100114-202618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20812',
internalId:  '',
customField: '20100115-200153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20833',
internalId:  '',
customField: '20100115-205100'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21812',
internalId:  '',
customField: '20100115-220943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23912',
internalId:  '',
customField: '20100121-092606'
};
var canonHostname = 'wsc-worker02.chi.us.siteprotect.com';
var accountId     = 'AHW050INLSO9';
var companyName   = 'iRez+Systems';
var htmlTitle	  = 'Reservation+solutions+by+iRez+Systems';
var metaKeywords  = 'reservation+software%2C+RezWare+rezweb%2C+online%2C+on-line+reservation+event+management+software%2C+web+reservation+systems%2C+best+reservation+system%2C+rezware%2C+florida+reservation+software%2C+maritime+software%2C+scenic+railroad+software%2C+tour+industry+software%2C+cruise+industry+software%2C+database+software%2C+schedule+software%2C+computer+software%2C+reservation%2C+florida+business%2C+systems+programming%2C+database+management';
var metaContents  = 'Reservation+Software+solutions+by+iRez+Systems';
theSitetree.getById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		if (ar[i][POS_ID] == id){
			return ar[i];
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getParentById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {
			if (ar[i][POS_CHILDS][j][POS_ID] == id) {
				// child found
				return ar[i];
			}
			var result=this.getParentById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getName = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAME];
	}
	return null;
};

theSitetree.getNavigationText = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAVIGATIONTEXT];
	}
	return null;
};

theSitetree.getHREF = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_HREF];
	}
	return null;
};

theSitetree.getIsNavigation = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_ISNAVIGATION];
	}
	return null;
};

theSitetree.getTemplateName = function(id, lastTemplateName, ar) {
	if (typeof(lastTemplateName) == 'undefined'){
		lastTemplateName = this.topTemplateName;
	}
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		var actTemplateName = ar[i][POS_TEMPLATENAME];
		if (actTemplateName == ''){
			actTemplateName = lastTemplateName;
		}
		if (ar[i][POS_ID] == id) {
			return actTemplateName;
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getByXx = function(lookup, xx, ar) {
    if (typeof(ar) == 'undefined'){
    	ar = this;
    }
    for (var i=0; i < ar.length; i++) {
        if (ar[i][xx] == lookup){
        	return ar[i];
        }
        if (ar[i][POS_CHILDS].length > 0) {
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);
            if (result != null){
                return result;
               }
        }
    }
    return null;
};

function gotoPage(lookup) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	var page = theSitetree.getHREF(lookup);
	if (!page) {
		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];
		for (var i=0 ; i < testFor.length ; i++) {
			var p = theSitetree.getByXx(lookup, testFor[i]);
			if (p != null) {
				page = p[POS_HREF];
				break;
			}
		}
	}
	document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
};
