/* [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','4456',jdecode('Home'),jdecode(''),'/4456/index.html','true',[ 
		['PAGE','40420',jdecode('Home+%28follow+up+page%29'),jdecode(''),'/4456/40420.html','true',[],'','']
	],'',''],
	['PAGE','4540',jdecode('Elizabeth+Corredor+'),jdecode(''),'/4540.html','true',[],'',''],
	['PAGE','7982',jdecode('Contactos'),jdecode(''),'/7982.html','true',[],'',''],
	['PAGE','4675',jdecode('Calendario'),jdecode(''),'/4675.html','true',[],'',''],
	['PAGE','73815',jdecode('Terapia+Individual'),jdecode(''),'/73815.html','true',[],'',''],
	['PAGE','73836',jdecode('Terapia+de+pareja'),jdecode(''),'/73836.html','true',[],'',''],
	['PAGE','73857',jdecode('Tereapia+familiar'),jdecode(''),'/73857.html','true',[],'',''],
	['PAGE','77115',jdecode('Proceso+de+separaci%C3%B3n'),jdecode(''),'/77115.html','true',[],'',''],
	['PAGE','8901',jdecode('Constelaciones+Familiares'),jdecode(''),'/8901.html','true',[],'',''],
	['PAGE','43529',jdecode('Formulario+de+inscripci%C3%B3n'),jdecode(''),'/43529.html','true',[],'',''],
	['PAGE','47602',jdecode('Localizaci%C3%B3n+Hotel+Sers'),jdecode(''),'/47602.html','true',[],'',''],
	['PAGE','57519',jdecode('Videos+Bert+'),jdecode(''),'/57519.html','true',[],'',''],
	['PAGE','4648',jdecode('Formaci%C3%B3n+en+Cali'),jdecode(''),'/4648/index.html','false',[ 
		['PAGE','43502',jdecode('Compromiso+mutuo'),jdecode(''),'/4648/43502.html','true',[],'','']
	],'',''],
	['PAGE','46903',jdecode('Formaci%C3%B3n+en+Bogot%C3%A1'),jdecode(''),'/46903.html','false',[],'',''],
	['PAGE','35438',jdecode('Talleres++en+Colombia'),jdecode(''),'/35438.html','false',[],'',''],
	['PAGE','4729',jdecode('Talleres+en+Cali'),jdecode(''),'/4729.html','false',[],'',''],
	['PAGE','4756',jdecode('Talleres+en+Medell%C3%ADn'),jdecode(''),'/4756.html','false',[],'',''],
	['PAGE','4783',jdecode('Art%C3%ADculos'),jdecode(''),'/4783/index.html','true',[ 
		['PAGE','7301',jdecode('Introducci%C3%B3n+a+las+constelaciones'),jdecode(''),'/4783/7301.html','true',[],'',''],
		['PAGE','59116',jdecode('Amor+y+Orden'),jdecode(''),'/4783/59116.html','true',[],'',''],
		['PAGE','7328',jdecode('Pactos+de+Amor'),jdecode(''),'/4783/7328.html','true',[],'',''],
		['PAGE','7355',jdecode('Relaciones+Fluidas'),jdecode(''),'/4783/7355.html','false',[],'',''],
		['PAGE','7382',jdecode('Lazos+que+unen%2C+lazos+que+separan'),jdecode(''),'/4783/7382.html','true',[],'',''],
		['PAGE','7409',jdecode('Constelaciones+y+educaci%C3%B3n'),jdecode(''),'/4783/7409.html','true',[],'',''],
		['PAGE','59143',jdecode('Ordenes+de+la+ayuda'),jdecode(''),'/4783/59143.html','true',[],'',''],
		['PAGE','42052',jdecode('Puentes+entre+escuela+y+familia'),jdecode(''),'/4783/42052.html','true',[],'',''],
		['PAGE','24701',jdecode('La+paz+comienza+en+el+alma'),jdecode(''),'/4783/24701.html','true',[],'',''],
		['PAGE','42290',jdecode('Reflexiones+sobre+el+dolor'),jdecode(''),'/4783/42290.html','true',[],'',''],
		['PAGE','42614',jdecode('El+sendero+de+la+levedad'),jdecode(''),'/4783/42614.html','true',[],'',''],
		['PAGE','42846',jdecode('Const.+y+Organizaciones'),jdecode(''),'/4783/42846.html','true',[],'',''],
		['PAGE','43109',jdecode('Oraci%C3%B3n+al+amanecer'),jdecode(''),'/4783/43109.html','true',[],'',''],
		['PAGE','60615',jdecode('La+Enfermedad+como+Oportunidad'),jdecode(''),'/4783/60615.html','true',[],'',''],
		['PAGE','60636',jdecode('Entrevista+con+Bert+2007'),jdecode(''),'/4783/60636.html','true',[],'','']
	],'',''],
	['PAGE','4810',jdecode('Noticias'),jdecode(''),'/4810.html','true',[],'',''],
	['PAGE','4837',jdecode('Bibliograf%C3%ADa'),jdecode(''),'/4837.html','true',[],'',''],
	['PAGE','4864',jdecode('Links'),jdecode(''),'/4864.html','true',[],'',''],
	['PAGE','10049',jdecode('Libro+de+visitas'),jdecode(''),'/10049/index.html','true',[ 
		['PAGE','10050',jdecode('Leer+el+libro+de+Visitas'),jdecode(''),'/10049/10050.html','false',[],'','']
	],'',''],
	['PAGE','37911',jdecode('Inicio'),jdecode(''),'/37911.html','true',[],'',''],
	['PAGE','44475',jdecode('constelaciones-sistemicas.org'),jdecode(''),'/44475.html','true',[],'',''],
	['PAGE','50602',jdecode('grupo+yahoo'),jdecode(''),'/50602.html','true',[],'',''],
	['PAGE','59170',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/59170/index.html','true',[ 
		['PAGE','59197',jdecode('Direcciones'),jdecode(''),'/59170/59197.html','true',[],'','']
	],'',''],
	['PAGE','59848',jdecode('Ofertas'),jdecode(''),'/59848.html','true',[],'',''],
	['PAGE','63715',jdecode('Crear+p%C3%A1gina'),jdecode(''),'/63715.html','true',[],'','']];
var siteelementCount=47;
theSitetree.topTemplateName='Jakarta';
theSitetree.paletteFamily='6176B2';
theSitetree.keyvisualId='7854';
theSitetree.keyvisualName='kv_7854.jpg';
theSitetree.fontsetId='16854';
theSitetree.graphicsetId='12296';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='ABBBE8';
var localeDef={
  language: 'es',
  country: 'ES'
};
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'true',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Jakarta',
				paletteFamily: 	'6176B2',
				keyvisualId: 	'7854',
				keyvisualName: 	'kv_7854.jpg',
				fontsetId: 		'16854',
				graphicsetId: 	'12296',
				contentColor: 	'000000',
				contentBGColor: 'ABBBE8',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'6176B2',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-10049aas010ine5pq']={
webappId:    '1002',
documentId:  '10049',
internalId:  '10049aas010ine5pq',
customField: 'icq=false'
};
webappMappings['7008']=webappMappings['7008-9091']={
webappId:    '7008',
documentId:  '4456',
internalId:  '9091',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73815',
internalId:  '',
customField: '20100503-154111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10050',
internalId:  '',
customField: '20051130-141154'
};
webappMappings['7060']=webappMappings['7060-1541761120cfbbcfa6d7819ebbfb29ea']={
webappId:    '7060',
documentId:  '44475',
internalId:  '1541761120cfbbcfa6d7819ebbfb29ea',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4456',
internalId:  '',
customField: '20100503-161118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57519',
internalId:  '',
customField: '20071117-095903'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4810',
internalId:  '',
customField: '20071117-101702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4675',
internalId:  '',
customField: '20100503-154323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73836',
internalId:  '',
customField: '20100503-154411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40420',
internalId:  '',
customField: '20060224-090214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4540',
internalId:  '',
customField: '20100503-115250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7982',
internalId:  '',
customField: '20100503-141116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8901',
internalId:  '',
customField: '20100503-141213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43529',
internalId:  '',
customField: '20100503-142749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47602',
internalId:  '',
customField: '20071003-181750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4648',
internalId:  '',
customField: '20061124-081635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43502',
internalId:  '',
customField: '20060314-205926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46903',
internalId:  '',
customField: '20061031-074047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35438',
internalId:  '',
customField: '20060901-084619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4729',
internalId:  '',
customField: '20060511-081550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4756',
internalId:  '',
customField: '20051130-135930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4783',
internalId:  '',
customField: '20070309-110336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7301',
internalId:  '',
customField: '20051130-132204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59116',
internalId:  '',
customField: '20100503-150357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7328',
internalId:  '',
customField: '20100503-150503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7355',
internalId:  '',
customField: '20051130-113823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7382',
internalId:  '',
customField: '20051221-090310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7409',
internalId:  '',
customField: '20060303-054121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59143',
internalId:  '',
customField: '20070309-112654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42052',
internalId:  '',
customField: '20060303-054617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24701',
internalId:  '',
customField: '20060105-133919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42290',
internalId:  '',
customField: '20060303-061406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42614',
internalId:  '',
customField: '20060303-061544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42846',
internalId:  '',
customField: '20060303-062633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43109',
internalId:  '',
customField: '20060321-070440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60615',
internalId:  '',
customField: '20070629-132607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60636',
internalId:  '',
customField: '20071002-073317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4837',
internalId:  '',
customField: '20051129-184544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4864',
internalId:  '',
customField: '20051129-184544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10049',
internalId:  '',
customField: '20051130-141153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37911',
internalId:  '',
customField: '20060208-091433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44475',
internalId:  '',
customField: '20060417-085323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50602',
internalId:  '',
customField: '20060703-152717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59170',
internalId:  '',
customField: '20070309-111723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59197',
internalId:  '',
customField: '20070309-111723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59848',
internalId:  '',
customField: '20070424-204149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63715',
internalId:  '',
customField: '20071002-070257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73857',
internalId:  '',
customField: '20100503-154822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77115',
internalId:  '',
customField: '20100504-210213'
};
var canonHostname = 'llwc535.servidoresdns.net';
var accountId     = 'Aas010INE5PQ';
var companyName   = 'SOLUCIONES+PERSONALES+Y+FAMILIARES';
var htmlTitle	  = 'www.constelaciones-sistemicas.org';
var metaKeywords  = 'Constelaciones+Familiares%2C+Psicoterapia+de+Familia%2C+Psicoterapia+sist%EF%BF%BDmica+en+Barcelona%2C+Sant+Cugat%2C+Colombia';
var metaContents  = 'constelaciones+familiares%2C+constelaciones+sist%EF%BF%BDmicas%2C+psicoterapia+de+pareja+y+familia%2CTalleres+terap%EF%BF%BDuticos+y+formaci%EF%BF%BDn+en+Constelaciones+familiares+en+Barcelona%2C+Sant+Cugat+y+Colombia';
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();
};
