/* [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','4598',jdecode('Espace+club'),jdecode(''),'/4598/index.html','true',[ 
		['PAGE','34829',jdecode('LE+CLUB'),jdecode(''),'/4598/34829.html','true',[],''],
		['PAGE','34856',jdecode('Entra%C3%AEnement'),jdecode(''),'/4598/34856.html','true',[],''],
		['PAGE','215824',jdecode('Challenge+club+2010'),jdecode(''),'/4598/215824.html','true',[],''],
		['PAGE','183924',jdecode('Challenge+club+2009'),jdecode(''),'/4598/183924.html','true',[],''],
		['PAGE','136613',jdecode('Challenge+club+2008'),jdecode(''),'/4598/136613.html','true',[],''],
		['PAGE','34910',jdecode('R%C3%A9sultats+2007'),jdecode(''),'/4598/34910.html','true',[],''],
		['PAGE','34991',jdecode('Challenge+club+2007'),jdecode(''),'/4598/34991.html','true',[],''],
		['PAGE','47202',jdecode('R%C3%A9sultats+2006'),jdecode(''),'/4598/47202.html','true',[],''],
		['PAGE','87402',jdecode('challenge+club+2006'),jdecode(''),'/4598/87402.html','true',[],''],
		['PAGE','116414',jdecode('Trombi%2C+Pages+perso'),jdecode(''),'/4598/116414.html','true',[],''],
		['PAGE','125713',jdecode('Le+mot+du+pr%C3%A9sident'),jdecode(''),'/4598/125713.html','true',[],''],
		['PAGE','130513',jdecode('planification+des+comp%C3%A9titions+'),jdecode(''),'/4598/130513.html','true',[],''],
		['PAGE','110114',jdecode('plan%2C+planification%2C+bilan'),jdecode(''),'/4598/110114.html','true',[],''],
		['PAGE','46002',jdecode('CONTACT+CLUB'),jdecode(''),'/4598/46002.html','true',[],''],
		['PAGE','46102',jdecode('Contacts+%28volgende+pagina%29'),jdecode(''),'/4598/46102.html','false',[],''],
		['PAGE','34883',jdecode('Agenda'),jdecode(''),'/4598/34883.html','true',[],'']
	],''],
	['PAGE','147013',jdecode('Triathlon+de+Roybon'),jdecode(''),'/147013/index.html','true',[ 
		['PAGE','34802',jdecode('Les+news'),jdecode(''),'/147013/34802.html','true',[],''],
		['PAGE','46302',jdecode('Acc%C3%A8s'),jdecode(''),'/147013/46302.html','true',[],''],
		['PAGE','23801',jdecode('Horaires%2C+Infos'),jdecode(''),'/147013/23801.html','true',[],''],
		['PAGE','104414',jdecode('Parcours+sprint'),jdecode(''),'/147013/104414.html','true',[],''],
		['PAGE','45302',jdecode('Profil+v%C3%A9lo+sprint'),jdecode(''),'/147013/45302.html','true',[],''],
		['PAGE','103714',jdecode('Parcours+d%C3%A9couverte'),jdecode(''),'/147013/103714.html','true',[],''],
		['PAGE','32623',jdecode('inscription+et+liste+des+inscrits'),jdecode(''),'/147013/32623.html','true',[],''],
		['PAGE','34202',jdecode('r%C3%A9sultats'),jdecode(''),'/147013/34202.html','true',[],''],
		['PAGE','113938',jdecode('photos+et+vid%C3%A9o'),jdecode(''),'/147013/113938.html','true',[],''],
		['PAGE','32702',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/147013/32702.html','true',[],''],
		['PAGE','32703',jdecode('Entr%C3%A9es'),jdecode(''),'/147013/32703.html','true',[],'']
	],''],
	['PAGE','90202',jdecode('Duathlon+du+club'),jdecode(''),'/90202/index.html','true',[ 
		['PAGE','90229',jdecode('parcours+v%C3%A9lo'),jdecode(''),'/90202/90229.html','true',[],''],
		['PAGE','90547',jdecode('inscription'),jdecode(''),'/90202/90547.html','true',[],''],
		['PAGE','90779',jdecode('liste+des+inscrits'),jdecode(''),'/90202/90779.html','true',[],''],
		['PAGE','101714',jdecode('r%C3%A9sultats'),jdecode(''),'/90202/101714.html','true',[],'']
	],''],
	['PAGE','57902',jdecode('Photos+%2F+Vid%C3%A9os'),jdecode(''),'/57902.html','true',[],''],
	['PAGE','34937',jdecode('Sponsors'),jdecode(''),'/34937.html','true',[],''],
	['PAGE','34964',jdecode('Liens'),jdecode(''),'/34964.html','true',[],''],
	['PAGE','97414',jdecode('Divers'),jdecode(''),'/97414/index.html','true',[ 
		['PAGE','97468',jdecode('Cartes+en+gros+plan'),jdecode(''),'/97414/97468.html','true',[],''],
		['PAGE','155013',jdecode('Presse'),jdecode(''),'/97414/155013.html','true',[],''],
		['PAGE','128313',jdecode('Tenues+%C3%A0+vendre'),jdecode(''),'/97414/128313.html','true',[],''],
		['PAGE','72235',jdecode('Archives+blog+and+site'),jdecode(''),'/97414/72235.html','true',[],'']
	],'']];
var siteelementCount=42;
theSitetree.topTemplateName='Neon';
theSitetree.paletteFamily='CC0000';
theSitetree.keyvisualId='868';
theSitetree.keyvisualName='delphinschwimmer.jpg';
theSitetree.fontsetId='161';
theSitetree.graphicsetId='188';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Neon',
				paletteFamily: 	'CC0000',
				keyvisualId: 	'868',
				keyvisualName: 	'delphinschwimmer.jpg',
				fontsetId: 		'161',
				graphicsetId: 	'188',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'6699CC',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4598',
internalId:  '8783120',
customField: '1501'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '32702',
internalId:  '32702aam010invspd',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '32703',
internalId:  '32702aam010invspd',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '147013',
internalId:  '',
customField: '20100422-172006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20100618-131056'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '46002',
internalId:  'aam010invspd10f8c54ea0b',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '46102',
internalId:  'aam010invspd10f8c54ea0b',
customField: 'followUp'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '46302',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '155013',
internalId:  '',
customField: '20080430-151241'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34802',
internalId:  '',
customField: '20100422-085904'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46302',
internalId:  '',
customField: '20090220-105656'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23801',
internalId:  '',
customField: '20100331-210844'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '104414',
internalId:  '',
customField: '20100331-205642'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45302',
internalId:  '',
customField: '20100331-205417'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '103714',
internalId:  '',
customField: '20100331-205931'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32623',
internalId:  '',
customField: '20100426-175439'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34202',
internalId:  '',
customField: '20090508-064332'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '113938',
internalId:  '',
customField: '20090508-064712'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90202',
internalId:  '',
customField: '20090308-211739'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90229',
internalId:  '',
customField: '20070228-215100'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90547',
internalId:  '',
customField: '20090206-211159'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90779',
internalId:  '',
customField: '20090203-204112'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101714',
internalId:  '',
customField: '20080316-185127'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '57902',
internalId:  '',
customField: '20100616-114939'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34883',
internalId:  '',
customField: '20080219-203025'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34910',
internalId:  '',
customField: '20070524-164320'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47202',
internalId:  '',
customField: '20070207-180710'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34991',
internalId:  '',
customField: '20080130-095745'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87402',
internalId:  '',
customField: '20070207-173959'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72235',
internalId:  '',
customField: '20070325-150320'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34829',
internalId:  '',
customField: '20080307-120959'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '116414',
internalId:  '',
customField: '20090111-154528'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34856',
internalId:  '',
customField: '20090306-171314'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '110114',
internalId:  '',
customField: '20071216-173921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34937',
internalId:  '',
customField: '20090401-204847'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34964',
internalId:  '',
customField: '20100227-205657'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32702',
internalId:  '',
customField: '20061224-110811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32703',
internalId:  '',
customField: '20061214-164353'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46002',
internalId:  '',
customField: '20080307-121131'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46102',
internalId:  '',
customField: '20061216-183512'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97414',
internalId:  '',
customField: '20071005-201413'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97468',
internalId:  '',
customField: '20070303-185930'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136613',
internalId:  '',
customField: '20080401-165043'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '125713',
internalId:  '',
customField: '20071011-181813'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '128313',
internalId:  '',
customField: '20071021-204231'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '130513',
internalId:  '',
customField: '20081214-170107'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '130513',
internalId:  '11466974',
customField: 'fr:FR:'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4598',
internalId:  '1501',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '183924',
internalId:  '',
customField: '20090203-204025'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '215824',
internalId:  '',
customField: '20100406-131134'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INVSPD';
var companyName   = 'Romans+Triathlon';
var htmlTitle	  = 'triathlon+romans+lac+de+Roybon';
var metaKeywords  = 'romans+triathlon+inscription+resultats+acc%EF%BF%BDs+lac+de+champos++saint-donas-sur-l-herbasse+sprint+super+sprint+d%EF%BF%BDcouverte+triathlon+avenir+trail+rencurel+duathlon+aquathlon';
var metaContents  = 'triathlon+romans+inscription+resultats+lac+champos+privas+natation+sprint+super+sprint+avenir+v%EF%BF%BDlo+course+%EF%BF%BD+pied+trail+resultat+saint-donat+2h+de+grenoble+10+km+saint+jean+de+moirans+annecy+alpe+dhuez+embrun+embrunman+saint+raphael+hostun+la+ciotat+beaujolais+marathon+';
					                                                                    
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 */					                                                            
