/* [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','4519',jdecode('Home'),jdecode(''),'/4519.html','true',[],''],
	['PAGE','19126',jdecode('What%26%23x27%3Bs+on+%3F'),jdecode(''),'/19126.html','true',[],''],
	['PAGE','265564',jdecode('Expositions'),jdecode(''),'/265564/index.html','true',[ 
		['PAGE','326464',jdecode('2010'),jdecode(''),'/265564/326464.html','true',[],''],
		['PAGE','312864',jdecode('2009'),jdecode(''),'/265564/312864.html','true',[],''],
		['PAGE','297764',jdecode('2008'),jdecode(''),'/265564/297764.html','true',[],''],
		['PAGE','283665',jdecode('2007'),jdecode(''),'/265564/283665.html','true',[],''],
		['PAGE','231363',jdecode('2006'),jdecode(''),'/265564/231363.html','true',[],''],
		['PAGE','228463',jdecode('2005'),jdecode(''),'/265564/228463.html','true',[],''],
		['PAGE','220066',jdecode('2004'),jdecode(''),'/265564/220066.html','true',[],''],
		['PAGE','4738',jdecode('2003'),jdecode(''),'/265564/4738.html','true',[],''],
		['PAGE','14164',jdecode('2002'),jdecode(''),'/265564/14164.html','true',[],''],
		['PAGE','257864',jdecode('2001'),jdecode(''),'/265564/257864.html','true',[],''],
		['PAGE','14245',jdecode('1999'),jdecode(''),'/265564/14245.html','true',[],''],
		['PAGE','14272',jdecode('1998'),jdecode(''),'/265564/14272.html','true',[],''],
		['PAGE','14299',jdecode('1997'),jdecode(''),'/265564/14299.html','true',[],''],
		['PAGE','14326',jdecode('1996'),jdecode(''),'/265564/14326.html','true',[],''],
		['PAGE','14353',jdecode('1995'),jdecode(''),'/265564/14353.html','true',[],'']
	],''],
	['PAGE','4765',jdecode('Catalogues'),jdecode(''),'/4765.html','true',[],''],
	['PAGE','258864',jdecode('Productions'),jdecode(''),'/258864/index.html','true',[ 
		['PAGE','260764',jdecode('Saverio+Lucariello'),jdecode(''),'/258864/260764.html','true',[],''],
		['PAGE','261005',jdecode('Eric+Duyckaerts'),jdecode(''),'/258864/261005.html','true',[],''],
		['PAGE','261032',jdecode('Yvan+Salomone'),jdecode(''),'/258864/261032.html','true',[],''],
		['PAGE','261059',jdecode('R%C3%A9gis+Perray'),jdecode(''),'/258864/261059.html','true',[],''],
		['PAGE','261086',jdecode('Pume+BYLex'),jdecode(''),'/258864/261086.html','true',[],''],
		['PAGE','261113',jdecode('El%C3%A9onore+de+Montesquiou'),jdecode(''),'/258864/261113.html','true',[],''],
		['PAGE','266064',jdecode('Agata+Bogacka'),jdecode(''),'/258864/266064.html','true',[],''],
		['PAGE','266091',jdecode('Michelle+Naismith'),jdecode(''),'/258864/266091.html','true',[],''],
		['PAGE','275764',jdecode('Joel+Bartolom%C3%A9o'),jdecode(''),'/258864/275764.html','true',[],''],
		['PAGE','276664',jdecode('Vincent+Roux'),jdecode(''),'/258864/276664.html','true',[],''],
		['PAGE','307964',jdecode('Fanny+Adler'),jdecode(''),'/258864/307964.html','true',[],'']
	],''],
	['PAGE','260464',jdecode('M%C3%A9diation'),jdecode(''),'/260464.html','true',[],''],
	['PAGE','260491',jdecode('Projet+Interreg+IVA'),jdecode(''),'/260491.html','true',[],''],
	['PAGE','4819',jdecode('Contacts+et+Liens'),jdecode(''),'/4819/index.html','true',[ 
		['PAGE','270967',jdecode('Contacts+et+Liens+%28volgende+pagina%29'),jdecode(''),'/4819/270967.html','false',[],'']
	],'']];
var siteelementCount=35;
theSitetree.topTemplateName='Moonflight';
theSitetree.paletteFamily='5B7A93';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='445';
theSitetree.graphicsetId='499';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Moonflight',
				paletteFamily: 	'5B7A93',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'445',
				graphicsetId: 	'499',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'2C5574',
				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['1006']={
webappId:    '1006',
documentId:  '4519',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4519',
internalId:  '252718',
customField: '1501'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4819',
internalId:  'aam010inxfui109a5248c77',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '270967',
internalId:  'aam010inxfui109a5248c77',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4519',
internalId:  '',
customField: '20090322-100217'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19126',
internalId:  '',
customField: '20100213-095115'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '265564',
internalId:  '',
customField: '20100217-180408'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '283665',
internalId:  '',
customField: '20071120-134911'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '231363',
internalId:  '',
customField: '20071120-134935'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '228463',
internalId:  '',
customField: '20081012-090518'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '220066',
internalId:  '',
customField: '20071013-215541'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4738',
internalId:  '',
customField: '20071013-205114'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14164',
internalId:  '',
customField: '20071015-172421'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '257864',
internalId:  '',
customField: '20071015-170133'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14245',
internalId:  '',
customField: '20071015-170028'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14272',
internalId:  '',
customField: '20071015-170913'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14299',
internalId:  '',
customField: '20071015-171118'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14326',
internalId:  '',
customField: '20071015-171243'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14353',
internalId:  '',
customField: '20071015-171432'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '297764',
internalId:  '',
customField: '20081011-134618'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4765',
internalId:  '',
customField: '20090502-120251'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '258864',
internalId:  '',
customField: '20081012-092433'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '260764',
internalId:  '',
customField: '20090323-120309'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '261005',
internalId:  '',
customField: '20090323-120324'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '261032',
internalId:  '',
customField: '20060222-171807'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '261059',
internalId:  '',
customField: '20090323-120348'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '261086',
internalId:  '',
customField: '20090323-120430'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '261113',
internalId:  '',
customField: '20090323-120442'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '266064',
internalId:  '',
customField: '20090323-120502'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '266091',
internalId:  '',
customField: '20090323-120518'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '275764',
internalId:  '',
customField: '20090323-120540'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '276664',
internalId:  '',
customField: '20090323-120553'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '260464',
internalId:  '',
customField: '20080619-121941'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '326464',
internalId:  '',
customField: '20100213-102301'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '312864',
internalId:  '',
customField: '20100213-100813'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '260491',
internalId:  '',
customField: '20081012-092202'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4819',
internalId:  '',
customField: '20091022-052903'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '270967',
internalId:  '',
customField: '20060226-075609'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '307964',
internalId:  '',
customField: '20081011-182223'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INXFUI';
var companyName   = 'Espace+Crois%C3%A9';
var htmlTitle	  = 'ESPACE+CROISE+-+Centre+dArt+Contemporain';
var metaKeywords  = 'Art+Contemporain%2C+Mark+Raidpere%2C+Pushpamala%2C+Michelle+Naismith%2C+Art+Video%2C+Lille%2C+Roubaix%2C+exposition%2C+lucariello%2C+bartolomeo%2C+C%C3%A9cile+Paris%2C+Eleonore+de+Montesquiou%2C+Saison+Video%2C+Balmet';
var metaContents  = 'Exposition+art+contemporain';
					                                                                    
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 */					                                                            
