/* [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','4559',jdecode('Accueil'),jdecode(''),'/4559.html','true',[],''],
	['PAGE','5403',jdecode('Spectacles'),jdecode(''),'/5403.html','true',[],''],
	['PAGE','36847',jdecode('Audio'),jdecode(''),'/36847.html','true',[],''],
	['PAGE','69846',jdecode('Vid%C3%A9o'),jdecode(''),'/69846.html','true',[],''],
	['PAGE','5430',jdecode('Discographie'),jdecode(''),'/5430.html','true',[],''],
	['PAGE','47447',jdecode('Photos'),jdecode(''),'/47447.html','true',[],''],
	['PAGE','53446',jdecode('Concerts'),jdecode(''),'/53446.html','true',[],''],
	['PAGE','4724',jdecode('Demande+d%26%23x27%3Binfo'),jdecode(''),'/4724/index.html','true',[ 
		['PAGE','68046',jdecode('Inscription'),jdecode(''),'/4724/68046.html','true',[],'']
	],''],
	['PAGE','53846',jdecode('Les+m%C3%A9dias'),jdecode(''),'/53846.html','true',[],''],
	['PAGE','4643',jdecode('R%C3%A9f%C3%A9rences'),jdecode(''),'/4643.html','true',[],''],
	['PAGE','4697',jdecode('Contact'),jdecode(''),'/4697.html','true',[],''],
	['PAGE','57146',jdecode('Espace+Pro'),jdecode(''),'/57146.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Circulation';
theSitetree.paletteFamily='1243CC';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10587';
theSitetree.graphicsetId='10562';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Circulation',
				paletteFamily: 	'1243CC',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10587',
				graphicsetId: 	'10562',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4559',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '47447',
internalId:  '10b91d5ba28',
customField: 'g.12lfp60qm.to8h47ui15a8.6rn80'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '4724',
internalId:  '11720491',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '69846',
internalId:  '',
customField: '20100305-155522'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4559',
internalId:  '1230080',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4559',
internalId:  '',
customField: '20100305-150209'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36847',
internalId:  '',
customField: '20100305-155544'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47447',
internalId:  '',
customField: '20100305-155717'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '57146',
internalId:  '',
customField: '20100305-160615'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5403',
internalId:  '',
customField: '20100305-144552'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4643',
internalId:  '',
customField: '20100305-160254'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53446',
internalId:  '',
customField: '20100305-155916'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4697',
internalId:  '',
customField: '20100305-160329'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4724',
internalId:  '',
customField: '20080203-105416'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5430',
internalId:  '',
customField: '20100305-155628'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53846',
internalId:  '',
customField: '20100305-145717'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '68046',
internalId:  '',
customField: '20080203-105832'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '68046',
internalId:  '11720321',
customField: 'fr:FR:'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2UXJ';
var companyName   = 'XAVIER++STUBBE+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++';
var htmlTitle	  = 'XAVIER+++STUBBE';
var metaKeywords  = 'Xavier+STUBBE+Jeune+Public+Chansons+et+spectacles+pour+enfants+STUBB+STUB+chanteur+pour+enfants.+Xavier+STUBBE';
var metaContents  = 'Xavier+STUBBE+chanteur+Jeune+Public.+Spectacles+pour+enfants.+Chansons+pour+enfants.+';
					                                                                    
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 */					                                                            
