/* [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','401',jdecode('Inicio'),jdecode(''),'/401.html','true',[],'',''],
	['PAGE','79426',jdecode('Jordada+Septiembre%26%23x27%3B10'),jdecode(''),'/79426.html','true',[],'',''],
	['PAGE','53601',jdecode('Cursos_Octubre+2010'),jdecode(''),'/53601/index.html','true',[ 
		['PAGE','54201',jdecode('Pr%C3%B3ximos+cursos+%28follow+up+page%29'),jdecode(''),'/53601/54201.html','false',[],'',''],
		['PAGE','55301',jdecode('Curso+Basico'),jdecode(''),'/53601/55301.html','true',[],'',''],
		['PAGE','55322',jdecode('Curso+Avanzado'),jdecode(''),'/53601/55322.html','true',[],'',''],
		['PAGE','55343',jdecode('Curso+HS+Experience'),jdecode(''),'/53601/55343.html','true',[],'',''],
		['PAGE','73212',jdecode('basic+course'),jdecode(''),'/53601/73212.html','true',[],'',''],
		['PAGE','73233',jdecode('advanced+course'),jdecode(''),'/53601/73233.html','true',[],'',''],
		['PAGE','73254',jdecode('HS+Experience+course'),jdecode(''),'/53601/73254.html','true',[],'','']
	],'',''],
	['PAGE','77416',jdecode('Cursos+Abril+2010'),jdecode(''),'/77416.html','true',[],'',''],
	['PAGE','76612',jdecode('Cursos+Marzo+2010'),jdecode(''),'/76612.html','true',[],'',''],
	['PAGE','68601',jdecode('Curso_May09+Fluidity'),jdecode(''),'/68601.html','true',[],'',''],
	['PAGE','66201',jdecode('Curso_May09+B%C3%A1sico'),jdecode(''),'/66201.html','true',[],'',''],
	['PAGE','62701',jdecode('Cursos_Feb+09'),jdecode(''),'/62701.html','true',[],'',''],
	['PAGE','57022',jdecode('Cursos_Dic+08'),jdecode(''),'/57022.html','true',[],'',''],
	['PAGE','56701',jdecode('Cursos_Nov+08'),jdecode(''),'/56701.html','true',[],'',''],
	['PAGE','78816',jdecode('Mercat+del+RAM'),jdecode(''),'/78816.html','true',[],'',''],
	['PAGE','59901',jdecode('Instructores+Prof.'),jdecode(''),'/59901/index.html','true',[ 
		['PAGE','11801',jdecode('David+Stuart+'),jdecode(''),'/59901/11801.html','true',[],'',''],
		['PAGE','51001',jdecode('Adrian+Heinen+'),jdecode(''),'/59901/51001.html','true',[],'',''],
		['PAGE','59922',jdecode('Ralf+Heil'),jdecode(''),'/59901/59922.html','true',[],'','']
	],'',''],
	['PAGE','48801',jdecode('Parelli+PNH'),jdecode(''),'/48801/index.html','true',[ 
		['PAGE','14901',jdecode('Programa+de+estudio'),jdecode(''),'/48801/14901.html','true',[],'',''],
		['PAGE','14922',jdecode('Nivell+1'),jdecode(''),'/48801/14922.html','true',[],'',''],
		['PAGE','14943',jdecode('Nivell+2'),jdecode(''),'/48801/14943.html','true',[],'',''],
		['PAGE','15501',jdecode('Nivell+3'),jdecode(''),'/48801/15501.html','true',[],'',''],
		['PAGE','17301',jdecode('Los+7+Juegos'),jdecode(''),'/48801/17301.html','true',[],'',''],
		['PAGE','65301',jdecode('Horsenality'),jdecode(''),'/48801/65301.html','true',[],'','']
	],'',''],
	['PAGE','40301',jdecode('Equiipamiento'),jdecode(''),'/40301.html','true',[],'',''],
	['PAGE','43201',jdecode('donde+estamos'),jdecode(''),'/43201.html','true',[],'',''],
	['PAGE','4601',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/4601/index.html','true',[ 
		['PAGE','13101',jdecode('Cont%C3%A1ctenos+%28follow+up+page%29'),jdecode(''),'/4601/13101.html','false',[],'',''],
		['PAGE','40001',jdecode('album+de+fotos'),jdecode(''),'/4601/40001.html','true',[],'','']
	],'',''],
	['PAGE','11822',jdecode('David+Stuart+%28fotos%29'),jdecode(''),'/11822.html','true',[],'',''],
	['PAGE','43701',jdecode('Equus+fira+07'),jdecode(''),'/43701.html','true',[],'',''],
	['PAGE','76312',jdecode('Actividades+y+Servicios'),jdecode(''),'/76312.html','true',[],'','']];
var siteelementCount=37;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='C8C0A4';
theSitetree.keyvisualId='2055';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='301';
theSitetree.graphicsetId='347';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='C8C0A4';
var localeDef={
  language: 'es',
  country: 'ES'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'C8C0A4',
				keyvisualId: 	'2055',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'301',
				graphicsetId: 	'347',
				contentColor: 	'000000',
				contentBGColor: 'C8C0A4',
				a_color: 		'C8C0A4',
				b_color: 		'5C5438',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20080114-182356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11822',
internalId:  '',
customField: '20071221-141228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11801',
internalId:  '',
customField: '20071107-183349'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '79426',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4601',
internalId:  '',
customField: '20071112-172430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48801',
internalId:  '',
customField: '20080108-131048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51001',
internalId:  '',
customField: '20080922-171441'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '79426',
internalId:  '1501',
customField: '1501'
};
webappMappings['7008']=webappMappings['7008-7340']={
webappId:    '7008',
documentId:  '53601',
internalId:  '7340',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59922',
internalId:  '',
customField: '20080922-171357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13101',
internalId:  '',
customField: '20071107-185515'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14901',
internalId:  '',
customField: '20071114-091519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14922',
internalId:  '',
customField: '20071108-153257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14943',
internalId:  '',
customField: '20071112-174650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15501',
internalId:  '',
customField: '20071112-174052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17301',
internalId:  '',
customField: '20071112-174127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53601',
internalId:  '',
customField: '20100510-175509'
};
webappMappings['7060']=webappMappings['7060-edd3685ad6c7fdb6a5afacc265b645c2']={
webappId:    '7060',
documentId:  '40001',
internalId:  'edd3685ad6c7fdb6a5afacc265b645c2',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40001',
internalId:  '',
customField: '20071126-085304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40301',
internalId:  '',
customField: '20071120-162218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43201',
internalId:  '',
customField: '20080114-175422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43701',
internalId:  '',
customField: '20071126-091637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65301',
internalId:  '',
customField: '20090116-185001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62701',
internalId:  '',
customField: '20090116-185637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76612',
internalId:  '',
customField: '20100215-171443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77416',
internalId:  '',
customField: '20100215-170706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76312',
internalId:  '',
customField: '20100215-170604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54201',
internalId:  '',
customField: '20080721-103817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79426',
internalId:  '',
customField: '20100707-170740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55301',
internalId:  '',
customField: '20100510-175624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55322',
internalId:  '',
customField: '20100510-175656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55343',
internalId:  '',
customField: '20100510-175723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56701',
internalId:  '',
customField: '20081014-111907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66201',
internalId:  '',
customField: '20090415-162748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57022',
internalId:  '',
customField: '20081014-111957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59901',
internalId:  '',
customField: '20080922-172732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68601',
internalId:  '',
customField: '20090506-092446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73212',
internalId:  '',
customField: '20090917-225310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73233',
internalId:  '',
customField: '20100510-175756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73254',
internalId:  '',
customField: '20100510-175836'
};
webappMappings['7008']=webappMappings['7008-7339']={
webappId:    '7008',
documentId:  '4601',
internalId:  '7339',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78816',
internalId:  '',
customField: '20100318-120735'
};
webappMappings['1501']=webappMappings['1501-1876131']={
webappId:    '1501',
documentId:  '79426',
internalId:  '1876131',
customField: '1501'
};
var canonHostname = 'llwc535.servidoresdns.net';
var accountId     = 'AARS20IN3DF4';
var companyName   = 'Cavall+i+Natura';
var htmlTitle	  = 'Cavall+i+Natura%2C+Can+Marcelino';
var metaKeywords  = '+cavall+i+natura%2Cdoma+natural%2C+horsemanship%2C+PNH%2C+Parelli%2C+Pat+Parelli+curso+doma+natural%2C+clinic+doma+natural+%2C+seminario+doma+natural%2C++equitacion+natural+%2C+material+didactico+doma+natural%2C+cabezada++doma+natural%2C+caballo+caballos+%2C+resolver+problemas+doma+natural%2C+caballos+resabiados%2C+imprinting%2C+los+siete+juegos+%2C+etologia+equina%2Cmamejo+natural+%2C+pie+a+tierra+%2C+doma+natural+en+libertad%2C+sussurrador+%2C+adestramiento+natural%2C+doma+natural+girona++catalunya+espa%C3%B1a%2C+naturaleza+%2C+disciplina+natural+%2C+pat+parelli%2C+metodo+parelli+%2C+pnh+%2C+clases+de+doma+natural+%2C+eventos+de+doma+natural++%2C+adestramiento+sin+resistencia++%2C+natural+horse+%2C+centro+de+doma+natural+girona+%2C+instructores+profesionales+metodo+parelli+%2C+instructores+profesionales+doma+natural+%2C+iniciar+potros+%2C+los+siete+juegos+de+pat++parelli+%2C+la+practica+de+la+doma+natural++%2C+lenguaje+corporal++%2C+comunicaci%C3%B3n+natural++%2C+metodo+parelli+espa%C3%B1a+%2C+monta+natural++%2C+comportamiento+equino+%2C+especialista+en+la+doma+natural+de+caballos++%2C+filosofia+doma+natural+%2C+parelli+pat+parelli+natural+horsemanship+espa%C3%B1a+%2C+parelli+espa%C3%B1a+%2C+dave+stuart+horsemanship%2C';
var metaContents  = 'El+Centro+ideal+para+aprender+Equitaci%C3%B3n+Natural.+El+lugar+natural+donde+puedes+aprender+en+toda+armon%C3%ADa+con+tu+caballo.+Aqu%C3%AD+encontrar%C3%A1s+amigos+para+compartir+experiencias+y+conocimientos.++Instructores+profesionales+te+llevar%C3%A1n+con+su+programa+de+estudio+hacia+el+camino+de+la+comunicaci%C3%B3n+natural+entre+el+hombre+y+los+caballos+para+alcanzar+resultados+sorprendentes+jam%C3%A1s+imaginados.+Los+estudiantes+del+m%C3%A9todo+de+Equitaci%C3%B3n+Natural+acuden+desde+toda+Espa%C3%B1a.+Todo+su+enfoque+se+dirige+a+un+desarrollo+personal+cuya+meta+es+llegar+a+ser+una+persona+admirada+por+su+caballo.+Nuestro+programa+est%C3%A1+estudiado+para+ense%C3%B1ar+lo+intangible%3A+enfoque%2C+sensaciones%2C+rapidez+y+sabidur%C3%ADa.+Las+cosas+que+la+mayor%C3%ADa+piensa+que+no+se+pueden+aprender.+Hemos+creado+un+Programa+y+un+entorno+que+te+llevar%C3%A1n+m%C3%A1s+all%C3%A1+de+la+simple+monta.+Podr%C3%A1s+explorar+tu+potencial+mental%2C+emotivo+y+f%C3%ADsico+y+llegar+a+una+profunda+comprensi%C3%B3n++de+ti+mismo+y+de+los+caballos.++++++Aprender%C3%A1s+la+esencia+de+la+Comunicaci%C3%B3n+Natural+y+la+excelencia+con+los+caballos.';
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();
};
