/* [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','701',jdecode('La+Cie+du+Boulet'),jdecode(''),'/701.html','true',[],''],
	['PAGE','1067',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/1067.html','true',[],''],
	['PAGE','47501',jdecode('+LIGNE+134'),jdecode(''),'/47501.html','true',[],''],
	['PAGE','43601',jdecode('Cr%C3%A9er+%C3%A0+Colomiers'),jdecode(''),'/43601.html','true',[],''],
	['PAGE','1109',jdecode('Notre+%C3%A9quipe'),jdecode(''),'/1109.html','true',[],''],
	['PAGE','1046',jdecode('Contact'),jdecode(''),'/1046.html','true',[],''],
	['PAGE','14701',jdecode('Ou+nous+trouver'),jdecode(''),'/14701.html','true',[],''],
	['PAGE','39201',jdecode('Adh%C3%A9rer'),jdecode(''),'/39201.html','true',[],''],
	['PAGE','6701',jdecode('R%C3%A9p%C3%A9titions+%26+Week-end'),jdecode(''),'/6701.html','true',[],''],
	['PAGE','6722',jdecode('Albums+photos'),jdecode(''),'/6722/index.html','true',[ 
		['PAGE','19701',jdecode('2003-2005'),jdecode(''),'/6722/19701.html','true',[],''],
		['PAGE','33401',jdecode('2004+OFAJ+Berlin'),jdecode(''),'/6722/33401.html','true',[],''],
		['PAGE','31101',jdecode('2005+Sanary%2FMer'),jdecode(''),'/6722/31101.html','true',[],''],
		['PAGE','27801',jdecode('2006-2008'),jdecode(''),'/6722/27801.html','true',[],'']
	],''],
	['PAGE','45701',jdecode('Les+UCJG+-+YMCA'),jdecode(''),'/45701.html','true',[],''],
	['PAGE','22501',jdecode('La+FNCTA'),jdecode(''),'/22501.html','true',[],''],
	['PAGE','22522',jdecode('Les+Estivades'),jdecode(''),'/22522/index.html','true',[ 
		['PAGE','34201',jdecode('Inscription+Estivades+'),jdecode(''),'/22522/34201.html','true',[],'']
	],''],
	['PAGE','6785',jdecode('Liens+favoris'),jdecode(''),'/6785.html','true',[],''],
	['PAGE','49106',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/49106/index.html','true',[ 
		['PAGE','49101',jdecode('Entr%C3%A9es'),jdecode(''),'/49106/49101.html','true',[],'']
	],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Comic';
theSitetree.paletteFamily='A70303';
theSitetree.keyvisualId='9983';
theSitetree.keyvisualName='kv2.swf';
theSitetree.fontsetId='17762';
theSitetree.graphicsetId='13131';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Comic',
				paletteFamily: 	'A70303',
				keyvisualId: 	'9983',
				keyvisualName: 	'kv2.swf',
				fontsetId: 		'17762',
				graphicsetId: 	'13131',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '701',
internalId:  '',
customField: '20100310-193617'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14701',
internalId:  '',
customField: '20080920-084453'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '1046',
internalId:  '3647115',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45701',
internalId:  '',
customField: '20100310-102136'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19701',
internalId:  '',
customField: '20080925-175306'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '19701',
internalId:  '11c80adc917',
customField: 'g.13i0ag9ud.8hspjj1mqb.3o'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '33401',
internalId:  '11ceb6e3ec4',
customField: ''
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6701',
internalId:  '',
customField: '20091012-111741'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6722',
internalId:  '',
customField: '20081130-112002'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '14701',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '31101',
internalId:  '11ceb3bc467',
customField: 'g.13jliq2p5.lp7gp89p1f.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1046',
internalId:  '',
customField: '20081130-131812'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1067',
internalId:  '',
customField: '20080920-082856'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6785',
internalId:  '',
customField: '20091012-112712'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1109',
internalId:  '',
customField: '20100310-131641'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '701',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '701',
internalId:  '3638242',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20100310-154047'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '33401',
internalId:  '',
customField: '20090523-082805'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34201',
internalId:  '',
customField: '20100310-131740'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '39201',
internalId:  '',
customField: '20100310-130916'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31101',
internalId:  '',
customField: '20081130-180200'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22501',
internalId:  '',
customField: '20081130-190827'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22522',
internalId:  '',
customField: '20090530-125953'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '27801',
internalId:  '11c8fe434e6',
customField: 'g.13i7u5rko.3tdf3ms7h1j.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27801',
internalId:  '',
customField: '20081130-180015'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47501',
internalId:  '',
customField: '20100310-141011'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '49106',
internalId:  '49106aam010inlpsx',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '49101',
internalId:  '49106aam010inlpsx',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49106',
internalId:  '',
customField: '20100310-143240'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49101',
internalId:  '',
customField: '20100310-143240'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLPSX';
var companyName   = 'CIE-DU-BOULET.ORG';
var htmlTitle	  = 'COMPAGNIE+DU+BOULET';
var metaKeywords  = 'compagnie+du+boulet+th%C3%A9%C3%A2tre+handicap+colomiers+estivades+de+colomiers+ucjg+ymca';
var metaContents  = 'la+compagnie+du+boulet';
					                                                                    
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 */					                                                            
