/* [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','4597',jdecode('Accueil'),jdecode(''),'/4597.html','true',[],''],
	['PAGE','4681',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/4681.html','true',[],''],
	['PAGE','55203',jdecode('EDITO'),jdecode(''),'/55203.html','true',[],''],
	['PAGE','17303',jdecode('+'),jdecode(''),'/17303.html','true',[],''],
	['PAGE','15003',jdecode('FESTIVAL+'),jdecode(''),'/15003.html','true',[],''],
	['PAGE','59603',jdecode('+++++++++++++++++++++++++++++++++++++++++++++++'),jdecode(''),'/59603.html','true',[],''],
	['PAGE','16357',jdecode('-+Mais+n%26%23x27%3Bte+prom%C3%A8ne+donc+pas+toute+nue'),jdecode(''),'/16357.html','true',[],''],
	['PAGE','16411',jdecode('-+Voix+off'),jdecode(''),'/16411.html','true',[],''],
	['PAGE','16330',jdecode('-+Petites+Cruaut%C3%A9s'),jdecode(''),'/16330.html','true',[],''],
	['PAGE','16438',jdecode('-+Je+me+drogue+%C3%A0+l%26%23x27%3Bimaginaire'),jdecode(''),'/16438.html','true',[],''],
	['PAGE','16384',jdecode('-+Rien+ne+sera+plus+jamais'),jdecode(''),'/16384.html','true',[],''],
	['PAGE','79322',jdecode('comme+avant'),jdecode(''),'/79322.html','true',[],''],
	['PAGE','59630',jdecode('-+Lespri+Ko'),jdecode(''),'/59630.html','true',[],''],
	['PAGE','79343',jdecode('+'),jdecode(''),'/79343.html','true',[],''],
	['PAGE','59203',jdecode('La+Fanfare+%22Fil+rouge%22'),jdecode(''),'/59203.html','true',[],''],
	['PAGE','59657',jdecode('++++++++++++++++++++++++++++++++++++++++'),jdecode(''),'/59657.html','true',[],''],
	['PAGE','40901',jdecode('LES+5+SCENES'),jdecode(''),'/40901.html','true',[],''],
	['PAGE','4762',jdecode('Le+Balcon'),jdecode(''),'/4762/index.html','true',[ 
		['PAGE','15111',jdecode('Programme'),jdecode(''),'/4762/15111.html','true',[],'']
	],''],
	['PAGE','14603',jdecode('Les+Carmes'),jdecode(''),'/14603/index.html','true',[ 
		['PAGE','15165',jdecode('Programme'),jdecode(''),'/14603/15165.html','true',[],'']
	],''],
	['PAGE','14630',jdecode('Le+Ch%C3%AAne+Noir'),jdecode(''),'/14630/index.html','true',[ 
		['PAGE','15219',jdecode('Programme'),jdecode(''),'/14630/15219.html','true',[],'']
	],''],
	['PAGE','14657',jdecode('Le+Chien+qui+Fume'),jdecode(''),'/14657/index.html','true',[ 
		['PAGE','15273',jdecode('Programme'),jdecode(''),'/14657/15273.html','true',[],'']
	],''],
	['PAGE','14684',jdecode('Les+Halles'),jdecode(''),'/14684/index.html','true',[ 
		['PAGE','15327',jdecode('Programme'),jdecode(''),'/14684/15327.html','true',[],'']
	],''],
	['PAGE','59684',jdecode('Les+Hivernales'),jdecode(''),'/59684.html','true',[],''],
	['PAGE','53701',jdecode('Contact'),jdecode(''),'/53701/index.html','true',[ 
		['PAGE','58328',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/53701/58328.html','false',[],''],
		['PAGE','64457',jdecode('Adresse%2C+T%C3%A9l%C3%A9phone'),jdecode(''),'/53701/64457.html','true',[],'']
	],''],
	['PAGE','63715',jdecode('Album+photos'),jdecode(''),'/63715.html','true',[],''],
	['PAGE','63763',jdecode('Le+festival+de+janvier+2006+en'),jdecode(''),'/63763.html','true',[],''],
	['PAGE','80001',jdecode('images'),jdecode(''),'/80001.html','true',[],''],
	['PAGE','71403',jdecode('lien+AF%26C'),jdecode(''),'/71403.html','true',[],'']];
var siteelementCount=35;
theSitetree.topTemplateName='Activate';
theSitetree.paletteFamily='990000';
theSitetree.keyvisualId='2026';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='337';
theSitetree.graphicsetId='391';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='990000';
var theTemplate={
				name: 			'Activate',
				paletteFamily: 	'990000',
				keyvisualId: 	'2026',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'337',
				graphicsetId: 	'391',
				contentColor: 	'FFFFFF',
				contentBGColor: '990000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'990000',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15003',
internalId:  '',
customField: '20071004-121525'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4597',
internalId:  '',
customField: '20060131-152410'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4597',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '53701',
internalId:  'aam010in3uae10856bf176a',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '58328',
internalId:  'aam010in3uae10856bf176a',
customField: 'followUp'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '63715',
internalId:  '1092ae5f19b',
customField: 'g.12lg228uh.4oiru72o3f88b.6rn80'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '63763',
internalId:  '1092afad0b3',
customField: 'g.12lg228vg.32jr4cpgjoc04.6rn80'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16384',
internalId:  '',
customField: '20080107-164833'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14684',
internalId:  '',
customField: '20071115-151459'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16438',
internalId:  '',
customField: '20080108-092825'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16330',
internalId:  '',
customField: '20071123-120111'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16357',
internalId:  '',
customField: '20071026-154439'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59630',
internalId:  '',
customField: '20071009-115446'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4681',
internalId:  '',
customField: '20051223-101405'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '55203',
internalId:  '',
customField: '20080124-160436'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17303',
internalId:  '',
customField: '20051213-130404'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59603',
internalId:  '',
customField: '20071022-120749'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16411',
internalId:  '',
customField: '20080108-092746'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59203',
internalId:  '',
customField: '20070112-103511'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59657',
internalId:  '',
customField: '20051223-101324'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40901',
internalId:  '',
customField: '20051228-134040'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4762',
internalId:  '',
customField: '20051223-105136'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15111',
internalId:  '',
customField: '20051212-181443'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14603',
internalId:  '',
customField: '20051223-105116'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15165',
internalId:  '',
customField: '20051212-181443'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14630',
internalId:  '',
customField: '20060104-144718'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15219',
internalId:  '',
customField: '20051212-181443'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14657',
internalId:  '',
customField: '20080104-143940'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15273',
internalId:  '',
customField: '20051212-181443'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15327',
internalId:  '',
customField: '20071115-145922'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59684',
internalId:  '',
customField: '20071009-120638'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53701',
internalId:  '',
customField: '20051223-093258'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '58328',
internalId:  '',
customField: '20051223-093210'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '64457',
internalId:  '',
customField: '20061012-140102'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '63715',
internalId:  '',
customField: '20060622-115808'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '63763',
internalId:  '',
customField: '20060202-144151'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '71403',
internalId:  '',
customField: '20070125-143547'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79322',
internalId:  '',
customField: '20080107-165107'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79343',
internalId:  '',
customField: '20071109-105924'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '80001',
internalId:  '',
customField: '20071109-110205'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3UAE';
var companyName   = 'Sc%C3%A8nes+d%27Avignon';
var htmlTitle	  = 'SCENES+DAVIGNON';
var metaKeywords  = 'scenes+avignon+th%EF%BF%BD%EF%BF%BDtre+spectacle+lieu+production+humour+th%EF%BF%BDme+culture+sc%EF%BF%BDne+salle+progamme+festival+theatre+in+off+culture';
var metaContents  = 'scenes+davignon+festival+avignon+lieu+culture';
					                                                                    
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 */					                                                            
