/* [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 POS_TARGET=8;
var theSitetree=[ 
	['PAGE','4596',jdecode('%C2%BFQuienes+Somos%3F'),jdecode(''),'/4596.html','true',[],'',''],
	['PAGE','22803',jdecode('FULL+DAYS'),jdecode(''),'/22803.html','true',[],'',''],
	['PAGE','212767',jdecode('LOS+ROQUES+ESPECIAL'),jdecode(''),'/212767.html','true',[],'',''],
	['PAGE','256065',jdecode('ISNOTU'),jdecode(''),'/256065/index.html','true',[ 
		['PAGE','256086',jdecode('Octubre'),jdecode(''),'/256065/256086.html','true',[],'','']
	],'',''],
	['PAGE','75645',jdecode('FINES+DE+SEMANA'),jdecode(''),'/75645/index.html','true',[ 
		['PAGE','49601',jdecode('Morrocoy+Especial'),jdecode(''),'/75645/49601.html','true',[],'',''],
		['PAGE','159456',jdecode('Oriente+'),jdecode(''),'/75645/159456.html','true',[],'',''],
		['PAGE','200767',jdecode('Chuspa'),jdecode(''),'/75645/200767.html','true',[],'',''],
		['PAGE','200788',jdecode('Aguas+Termales'),jdecode(''),'/75645/200788.html','true',[],'',''],
		['PAGE','200809',jdecode('Choron%C3%AD'),jdecode(''),'/75645/200809.html','true',[],'',''],
		['PAGE','212788',jdecode('Bah%C3%ADa+de+Cata'),jdecode(''),'/75645/212788.html','true',[],'',''],
		['PAGE','212809',jdecode('La+Isleta+%28Aventura%29'),jdecode(''),'/75645/212809.html','true',[],'',''],
		['PAGE','212830',jdecode('Morrocoy+Tradicional'),jdecode(''),'/75645/212830.html','true',[],'',''],
		['PAGE','212851',jdecode('Falc%C3%B3n'),jdecode(''),'/75645/212851.html','true',[],'',''],
		['PAGE','212872',jdecode('Pto.+P%C3%ADritu-Kari%C3%B1a'),jdecode(''),'/75645/212872.html','true',[],'',''],
		['PAGE','214267',jdecode('Junquito-Colonia+Tovar'),jdecode(''),'/75645/214267.html','true',[],'','']
	],'',''],
	['PAGE','232367',jdecode('VACACIONES+1'),jdecode(''),'/232367/index.html','true',[ 
		['PAGE','232535',jdecode('Falc%C3%B3n+Tradicional'),jdecode(''),'/232367/232535.html','true',[],'',''],
		['PAGE','247965',jdecode('Falcon+Especial'),jdecode(''),'/232367/247965.html','true',[],'',''],
		['PAGE','248986',jdecode('Occidental+1'),jdecode(''),'/232367/248986.html','true',[],'',''],
		['PAGE','248965',jdecode('Occidental+2'),jdecode(''),'/232367/248965.html','true',[],'','']
	],'',''],
	['PAGE','249028',jdecode('VACACIONES+2'),jdecode(''),'/249028/index.html','true',[ 
		['PAGE','232556',jdecode('Gran+Sabana+7d'),jdecode(''),'/249028/232556.html','true',[],'',''],
		['PAGE','232577',jdecode('Gran+Sabana+6d'),jdecode(''),'/249028/232577.html','true',[],'','']
	],'',''],
	['PAGE','249070',jdecode('VACACIONES+3'),jdecode(''),'/249070/index.html','true',[ 
		['PAGE','232598',jdecode('M%C3%A9rida'),jdecode(''),'/249070/232598.html','true',[],'',''],
		['PAGE','249007',jdecode('Circuito+de+Ensue%C3%B1o'),jdecode(''),'/249070/249007.html','true',[],'','']
	],'',''],
	['PAGE','249154',jdecode('VACACIONES+4'),jdecode(''),'/249154/index.html','true',[ 
		['PAGE','249175',jdecode('Margarita+Tradicional'),jdecode(''),'/249154/249175.html','true',[],'','']
	],'',''],
	['PAGE','249217',jdecode('VACACIONES+5'),jdecode(''),'/249217/index.html','true',[ 
		['PAGE','232472',jdecode('Circuito+Oriental'),jdecode(''),'/249217/232472.html','true',[],'',''],
		['PAGE','232493',jdecode('Oriental+Especial'),jdecode(''),'/249217/232493.html','true',[],'',''],
		['PAGE','232451',jdecode('Oriente+con+Todo'),jdecode(''),'/249217/232451.html','true',[],'',''],
		['PAGE','232514',jdecode('Oriental+Playero'),jdecode(''),'/249217/232514.html','true',[],'',''],
		['PAGE','249238',jdecode('Oriente+Maravilloso'),jdecode(''),'/249217/249238.html','true',[],'','']
	],'',''],
	['PAGE','195967',jdecode('PROXIMAMENTE'),jdecode(''),'/195967/index.html','true',[ 
		['PAGE','195988',jdecode('Canopy'),jdecode(''),'/195967/195988.html','true',[],'','']
	],'',''],
	['PAGE','230867',jdecode('RECOMENDACIONES'),jdecode(''),'/230867.html','true',[],'',''],
	['PAGE','25703',jdecode('Reserve+ya%21'),jdecode(''),'/25703/index.html','true',[ 
		['PAGE','26602',jdecode('Reserve+ya%21+%28follow+up+page%29'),jdecode(''),'/25703/26602.html','false',[],'','']
	],'',''],
	['PAGE','26103',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/26103/index.html','true',[ 
		['PAGE','26202',jdecode('Cont%C3%A1ctenos+%28follow+up+page%29'),jdecode(''),'/26103/26202.html','false',[],'','']
	],'','']];
var siteelementCount=43;
theSitetree.topTemplateName='Porthole';
theSitetree.paletteFamily='064B91';
theSitetree.keyvisualId='6708';
theSitetree.keyvisualName='kv_6708.jpg';
theSitetree.fontsetId='11204';
theSitetree.graphicsetId='12013';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='E9F3FF';
var localeDef={
  language: 'es',
  country: 'ES'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Porthole',
				paletteFamily: 	'064B91',
				keyvisualId: 	'6708',
				keyvisualName: 	'kv_6708.jpg',
				fontsetId: 		'11204',
				graphicsetId: 	'12013',
				contentColor: 	'000000',
				contentBGColor: 'E9F3FF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-223576']={
webappId:    '1501',
documentId:  '4596',
internalId:  '223576',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '232514',
internalId:  '',
customField: '20100712-204940'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4596',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4596',
internalId:  '',
customField: '20100602-155540'
};
webappMappings['7008']=webappMappings['7008-6504']={
webappId:    '7008',
documentId:  '25703',
internalId:  '6504',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '256086',
internalId:  '',
customField: '20100712-205602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '249007',
internalId:  '',
customField: '20100712-203032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '195967',
internalId:  '',
customField: '20090605-170837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '195988',
internalId:  '',
customField: '20090605-151758'
};
webappMappings['7060']=webappMappings['7060-2ba7283a2d6bc89d5359e6b1968fdf1c']={
webappId:    '7060',
documentId:  '195988',
internalId:  '2ba7283a2d6bc89d5359e6b1968fdf1c',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '249238',
internalId:  '',
customField: '20100727-140835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75645',
internalId:  '',
customField: '20100804-163827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49601',
internalId:  '',
customField: '20100716-183745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '232451',
internalId:  '',
customField: '20100727-140621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '212872',
internalId:  '',
customField: '20090929-145739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22803',
internalId:  '',
customField: '20100823-165816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '248986',
internalId:  '',
customField: '20100712-200222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '256065',
internalId:  '',
customField: '20100518-174948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '249070',
internalId:  '',
customField: '20100504-224552'
};
webappMappings['7008']=webappMappings['7008-6503']={
webappId:    '7008',
documentId:  '26103',
internalId:  '6503',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '230867',
internalId:  '',
customField: '20100114-094048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '200788',
internalId:  '',
customField: '20100714-172943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '248965',
internalId:  '',
customField: '20100727-135614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '232535',
internalId:  '',
customField: '20100727-135449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '249028',
internalId:  '',
customField: '20100504-004159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '200809',
internalId:  '',
customField: '20100804-162653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '249175',
internalId:  '',
customField: '20100823-171437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '232556',
internalId:  '',
customField: '20100712-201248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '232472',
internalId:  '',
customField: '20100712-204342'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '232493',
internalId:  '',
customField: '20100712-204655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '159456',
internalId:  '',
customField: '20100804-162614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '214267',
internalId:  '',
customField: '20090930-153747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '249217',
internalId:  '',
customField: '20100505-223805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25703',
internalId:  '',
customField: '20091116-164256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26602',
internalId:  '',
customField: '20060707-190034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26103',
internalId:  '',
customField: '20060810-195237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26202',
internalId:  '',
customField: '20060707-185005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '212788',
internalId:  '',
customField: '20100804-162819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '232367',
internalId:  '',
customField: '20100712-194520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '212767',
internalId:  '',
customField: '20100726-172102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '232577',
internalId:  '',
customField: '20100716-182308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '232598',
internalId:  '',
customField: '20100823-170744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '200767',
internalId:  '',
customField: '20100714-172919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '212809',
internalId:  '',
customField: '20090929-145739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '212830',
internalId:  '',
customField: '20100323-175529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '212851',
internalId:  '',
customField: '20100804-163700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '249154',
internalId:  '',
customField: '20100504-234544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '247965',
internalId:  '',
customField: '20100712-195609'
};
var canonHostname = 'diywk02.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INXZCX';
var companyName   = 'ALEXIS+TOURS...+lo+mejor+de+Venezuela%21%21%21';
var htmlTitle	  = 'Alexis+Tours...+a+disfrutar+de+las+mejores+TEMPORADAS+VACACIONALES+EN+VENEZUELA%21%21%21%21%21';
var metaKeywords  = 'Excursiones+TerrestresGu%C3%ADa+Recorrer+Venezuela';
var metaContents  = 'Programas+de+Excursiones+terrestres+por+toda+Venezuela+con+Guias+Especializados+utilizando+las+mejores+unidades+de+transporte+prestando+un+servicio+de+alta+calidad.';
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();
};
