/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','1506',jdecode('.'),jdecode(''),'/1506.html','true',[],''],
	['PAGE','6592',jdecode('MDS'),jdecode(''),'/6592/index.html','true',[ 
		['PAGE','199001',jdecode('MDS+%28follow+up+page%29'),jdecode(''),'/6592/199001.html','false',[],''],
		['PAGE','134726',jdecode('San+Miguel+SNOWRUNNING+%28follow+up+page%29'),jdecode(''),'/6592/134726.html','false',[],''],
		['PAGE','134788',jdecode('San+Miguel+SNOWTOP+%28follow+up+page%29'),jdecode(''),'/6592/134788.html','false',[],''],
		['PAGE','177833',jdecode('INSCRIPCIONES+SNR+%28follow+up+page%29'),jdecode(''),'/6592/177833.html','false',[],'']
	],''],
	['PAGE','197701',jdecode('GTX+SERIES'),jdecode(''),'/197701/index.html','true',[ 
		['PAGE','198801',jdecode('GTX+SERIES+%28follow+up+page%29'),jdecode(''),'/197701/198801.html','false',[],'']
	],''],
	['PAGE','199201',jdecode('UT+ANETO'),jdecode(''),'/199201/index.html','true',[ 
		['PAGE','199801',jdecode('UT+ANETO+%28follow+up+page%29'),jdecode(''),'/199201/199801.html','false',[],'']
	],''],
	['PAGE','199222',jdecode('SNOWCHALLENGE'),jdecode(''),'/199222/index.html','true',[ 
		['PAGE','200501',jdecode('SNOWCHALLENGE+%28follow+up+page%29'),jdecode(''),'/199222/200501.html','false',[],'']
	],''],
	['PAGE','202901',jdecode('SAN+MIGUEL+ROGAINE'),jdecode(''),'/202901/index.html','true',[ 
		['PAGE','203501',jdecode('SAN+MIGUEL+ROGAINE+%28follow+up+page%29'),jdecode(''),'/202901/203501.html','false',[],'']
	],''],
	['PAGE','201701',jdecode('SPORTIDENT'),jdecode(''),'/201701/index.html','true',[ 
		['PAGE','202201',jdecode('SPORTIDENT+%28follow+up+page%29'),jdecode(''),'/201701/202201.html','false',[],'']
	],''],
	['PAGE','201722',jdecode('100+MILLAS+HIMALAYA'),jdecode(''),'/201722/index.html','true',[ 
		['PAGE','202701',jdecode('100+MILLAS+HIMALAYA+%28follow+up+page%29'),jdecode(''),'/201722/202701.html','false',[],'']
	],''],
	['PAGE','199243',jdecode('SNOWRUNNING'),jdecode(''),'/199243/index.html','true',[ 
		['PAGE','200301',jdecode('SNOWRUNNING+%28follow+up+page%29'),jdecode(''),'/199243/200301.html','false',[],'']
	],''],
	['PAGE','199264',jdecode('CRONO+NO+LIMIT'),jdecode(''),'/199264/index.html','true',[ 
		['PAGE','200101',jdecode('CRONO+NO+LIMIT+%28follow+up+page%29'),jdecode(''),'/199264/200101.html','false',[],'']
	],''],
	['PAGE','6700',jdecode('CONTACTO'),jdecode(''),'/6700/index.html','true',[ 
		['PAGE','78102',jdecode('CONTACTO+%28follow+up+page%29'),jdecode(''),'/6700/78102.html','false',[],'']
	],''],
	['PAGE','200801',jdecode('.'),jdecode(''),'/200801/index.html','true',[ 
		['PAGE','201201',jdecode('.+%28follow+up+page%29'),jdecode(''),'/200801/201201.html','false',[],'']
	],'']];
var siteelementCount=26;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='555454';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10555';
theSitetree.graphicsetId='10892';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Alpha',
				paletteFamily: 	'555454',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10555',
				graphicsetId: 	'10892',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'555454',
				e_color: 		'555454',
				f_color: 		'555454',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '197701',
internalId:  '',
customField: '20080623-124816'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '6592',
internalId:  'aas010inxhsd11aa041946e',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '199001',
internalId:  'aas010inxhsd11aa041946e',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1506',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '134788',
internalId:  '',
customField: '20050325-204117'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '6700',
internalId:  'aas010inxhsdfee83976ed',
customField: ''
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '199243',
internalId:  '',
customField: '20080623-115444'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '177833',
internalId:  'aas010inxhsd110880c8fc6',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6592',
internalId:  '',
customField: '20080619-115628'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '78102',
internalId:  'aas010inxhsdfee83976ed',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '177833',
internalId:  '',
customField: '20070203-154029'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '198801',
internalId:  'aas010inxhsd11aa0403b20',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '134788',
internalId:  'aas010inxhsd102db3b9280',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '199264',
internalId:  '',
customField: '20080623-124722'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6700',
internalId:  '',
customField: '20061026-011507'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '199264',
internalId:  'aas010inxhsd11ab4d7a8b8',
customField: ''
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1506',
internalId:  '',
customField: '20080517-001503'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '200101',
internalId:  'aas010inxhsd11ab4d7a8b8',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '134726',
internalId:  'aas010inxhsd102db31b457',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '199001',
internalId:  '',
customField: '20080619-115710'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '198801',
internalId:  '',
customField: '20080619-115541'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '199201',
internalId:  '',
customField: '20080623-124755'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '199201',
internalId:  'aas010inxhsd11ab4d591f8',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '199801',
internalId:  'aas010inxhsd11ab4d591f8',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '197701',
internalId:  'aas010inxhsd11aa0403b20',
customField: ''
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78102',
internalId:  '',
customField: '20040910-140253'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '134726',
internalId:  '',
customField: '20050325-203030'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '199222',
internalId:  'aas010inxhsd11ab4db5e35',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '199243',
internalId:  'aas010inxhsd11ab4d9666f',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '200301',
internalId:  'aas010inxhsd11ab4d9666f',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '199222',
internalId:  '',
customField: '20080623-115646'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '200501',
internalId:  'aas010inxhsd11ab4db5e35',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '199801',
internalId:  '',
customField: '20080623-115113'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '200501',
internalId:  '',
customField: '20080623-115733'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '200301',
internalId:  '',
customField: '20080623-115524'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '200101',
internalId:  '',
customField: '20080623-115330'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '200801',
internalId:  '',
customField: '20080905-200032'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '200801',
internalId:  'aas010inxhsd11c33a3ac98',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '201201',
internalId:  'aas010inxhsd11c33a3ac98',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '201201',
internalId:  '',
customField: '20080905-195116'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '201701',
internalId:  '',
customField: '20090323-113522'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '201701',
internalId:  'aas010inxhsd12032e55364',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '202201',
internalId:  'aas010inxhsd12032e55364',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '201722',
internalId:  '',
customField: '20090323-113923'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '201722',
internalId:  'aas010inxhsd12032edd4cb',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '202701',
internalId:  'aas010inxhsd12032edd4cb',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '202201',
internalId:  '',
customField: '20090323-113431'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '202701',
internalId:  '',
customField: '20090323-114348'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '202901',
internalId:  '',
customField: '20090527-124848'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '202901',
internalId:  'aas010inxhsd12181b6e5b9',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '203501',
internalId:  'aas010inxhsd12181b6e5b9',
customField: 'followUp'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'Aas010INXHSD';
var companyName   = '';
var htmlTitle	  = 'No+Limit';
var metaKeywords  = 'Alpin+Running+Meeting+ARM+Snowrunning+Snowbike+Snowsurf+Snowgliss+Marathon+des+Sables+Maraton+des+Sables+Maraton+de+las+Arenas+21K+42K+X-Treme+Marathon+X-Treme+Maraton';
var metaContents  = 'Alpin+Running+Meeting+ARM+Snowrunning+Snowbike+Snowsurf+Snowgliss+Marathon+des+Sables+Maraton+des+Sables+Maraton+de+las+Arenas+21K+42K+X-Treme+Marathon+X-Treme+Maraton';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
