/* [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','8001',jdecode('en+cours'),jdecode(''),'/8001.html','true',[],''],
	['PAGE','401',jdecode('artistes+de+la+galerie'),jdecode(''),'/401/index.html','true',[ 
		['PAGE','24601',jdecode('jo%C3%ABl+andrianomearisoa'),jdecode(''),'/401/24601.html','true',[],''],
		['PAGE','1943',jdecode('stefan+barniche'),jdecode(''),'/401/1943.html','true',[],''],
		['PAGE','60912',jdecode('patrice+cujo'),jdecode(''),'/401/60912.html','true',[],''],
		['PAGE','1985',jdecode('antonio+gallego'),jdecode(''),'/401/1985.html','true',[],''],
		['PAGE','65933',jdecode('yoyo+gonthier'),jdecode(''),'/401/65933.html','true',[],''],
		['PAGE','2048',jdecode('jean-claude+jolet'),jdecode(''),'/401/2048.html','true',[],''],
		['PAGE','2069',jdecode('suncana+kuljis'),jdecode(''),'/401/2069.html','true',[],''],
		['PAGE','2132',jdecode('gabrielle+manglou'),jdecode(''),'/401/2132.html','true',[],''],
		['PAGE','65912',jdecode('pierrot+men'),jdecode(''),'/401/65912.html','true',[],''],
		['PAGE','2090',jdecode('virginie+trastour'),jdecode(''),'/401/2090.html','true',[],'']
	],''],
	['PAGE','60512',jdecode('artistes+associ%C3%A9s+%C3%A0+la+galerie'),jdecode(''),'/60512/index.html','true',[ 
		['PAGE','64712',jdecode('jack+beng-thi'),jdecode(''),'/60512/64712.html','true',[],''],
		['PAGE','68412',jdecode('attila+cheyssial'),jdecode(''),'/60512/68412.html','true',[],''],
		['PAGE','40201',jdecode('mrzyk+%26+moriceau'),jdecode(''),'/60512/40201.html','true',[],''],
		['PAGE','62833',jdecode('louis+pavageau'),jdecode(''),'/60512/62833.html','true',[],''],
		['PAGE','62812',jdecode('yohann+qu%C3%ABland+de+saint-pern'),jdecode(''),'/60512/62812.html','true',[],'']
	],''],
	['PAGE','60533',jdecode('hors+les+murs'),jdecode(''),'/60533.html','true',[],''],
	['PAGE','45101',jdecode('2009'),jdecode(''),'/45101/index.html','true',[ 
		['PAGE','83912',jdecode('Traits+complices'),jdecode(''),'/45101/83912.html','true',[],''],
		['PAGE','83933',jdecode('Protection+Rapproch%C3%A9e'),jdecode(''),'/45101/83933.html','true',[],''],
		['PAGE','83954',jdecode('Du+battant+des+lames'),jdecode(''),'/45101/83954.html','true',[],''],
		['PAGE','83975',jdecode('Que+l%26%23x27%3Barbre+mill%C3%A9naire...'),jdecode(''),'/45101/83975.html','true',[],''],
		['PAGE','83996',jdecode('Fragment'),jdecode(''),'/45101/83996.html','true',[],''],
		['PAGE','84017',jdecode('conter+fleurette'),jdecode(''),'/45101/84017.html','true',[],''],
		['PAGE','84038',jdecode('Orbite%2C+dessins+du+dedans'),jdecode(''),'/45101/84038.html','true',[],'']
	],''],
	['PAGE','2153',jdecode('2008'),jdecode(''),'/2153/index.html','true',[ 
		['PAGE','50701',jdecode('trait+contemporain'),jdecode(''),'/2153/50701.html','true',[],''],
		['PAGE','51101',jdecode('i+love+jozi'),jdecode(''),'/2153/51101.html','true',[],''],
		['PAGE','51122',jdecode('stephane+jardel'),jdecode(''),'/2153/51122.html','true',[],''],
		['PAGE','51143',jdecode('gabrielle+manglou'),jdecode(''),'/2153/51143.html','true',[],''],
		['PAGE','51164',jdecode('mzyk+et+moriceau'),jdecode(''),'/2153/51164.html','true',[],''],
		['PAGE','51185',jdecode('artem'),jdecode(''),'/2153/51185.html','true',[],'']
	],''],
	['PAGE','2174',jdecode('2007'),jdecode(''),'/2174/index.html','true',[ 
		['PAGE','32101',jdecode('patrice+cujo'),jdecode(''),'/2174/32101.html','true',[],''],
		['PAGE','4722',jdecode('yo-yo+gonthier'),jdecode(''),'/2174/4722.html','true',[],''],
		['PAGE','4743',jdecode('le+dessin+d%26%23x27%3Besprit'),jdecode(''),'/2174/4743.html','true',[],''],
		['PAGE','4701',jdecode('pierrot+men'),jdecode(''),'/2174/4701.html','true',[],'']
	],'']];
var siteelementCount=39;
theSitetree.topTemplateName='Aliment';
theSitetree.paletteFamily='BD1A27';
theSitetree.keyvisualId='8109';
theSitetree.keyvisualName='kv_8109.jpg';
theSitetree.fontsetId='16991';
theSitetree.graphicsetId='12387';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='f3f2f2';
var theTemplate={
				name: 			'Aliment',
				paletteFamily: 	'BD1A27',
				keyvisualId: 	'8109',
				keyvisualName: 	'kv_8109.jpg',
				fontsetId: 		'16991',
				graphicsetId: 	'12387',
				contentColor: 	'000000',
				contentBGColor: 'f3f2f2',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20100224-080201'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8001',
internalId:  '',
customField: '20100125-130808'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '8001',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2174',
internalId:  '',
customField: '20071220-135017'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2153',
internalId:  '',
customField: '20081119-114842'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4701',
internalId:  '',
customField: '20071209-155030'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4743',
internalId:  '',
customField: '20071220-134932'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2132',
internalId:  '',
customField: '20091029-145712'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2090',
internalId:  '',
customField: '20091030-092231'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2048',
internalId:  '',
customField: '20100202-143040'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1943',
internalId:  '',
customField: '20100125-131446'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1985',
internalId:  '',
customField: '20090529-122000'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2069',
internalId:  '',
customField: '20090529-131448'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '60512',
internalId:  '',
customField: '20100224-080122'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4722',
internalId:  '',
customField: '20071209-154943'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24601',
internalId:  '',
customField: '20090529-095533'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62833',
internalId:  '',
customField: '20090423-155808'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32101',
internalId:  '',
customField: '20071220-150449'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40201',
internalId:  '',
customField: '20080412-125143'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45101',
internalId:  '',
customField: '20091008-164447'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50701',
internalId:  '',
customField: '20091029-072451'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51101',
internalId:  '',
customField: '20091029-091830'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51122',
internalId:  '',
customField: '20081119-120840'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51143',
internalId:  '',
customField: '20091030-115350'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51164',
internalId:  '',
customField: '20091029-134524'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51185',
internalId:  '',
customField: '20091029-130658'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '60533',
internalId:  '',
customField: '20090911-155239'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '60912',
internalId:  '',
customField: '20100202-142901'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62812',
internalId:  '',
customField: '20100224-075250'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '64712',
internalId:  '',
customField: '20090624-120141'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '65912',
internalId:  '',
customField: '20090529-153557'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '65933',
internalId:  '',
customField: '20090514-100607'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '68412',
internalId:  '',
customField: '20090424-154221'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83912',
internalId:  '',
customField: '20091127-091328'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83933',
internalId:  '',
customField: '20091028-083615'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83954',
internalId:  '',
customField: '20091028-084619'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83975',
internalId:  '',
customField: '20091029-144702'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83996',
internalId:  '',
customField: '20091028-091531'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84017',
internalId:  '',
customField: '20091028-111944'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84038',
internalId:  '',
customField: '20091028-105525'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLOWU';
var companyName   = 'galerie+b%C3%A9atrice+binoche';
var htmlTitle	  = 'galerie+b%C3%A9atrice+binoche+art+contemporain';
var metaKeywords  = 'art+contemporain+dessin+galerie+exposition+collection+photographie+peinture%2C+sculpture+design+ressource+installation+plasticien+%C3%AEle+de+la+R%C3%A9union+oc%C3%A9an+Indien%2C+art+visuel+arts+visuels+b%C3%A9atrice+binoche+r%C3%A9sidence+1%25+commande+publique+artiste+vid%C3%A9o+art+actuel+';
var metaContents  = 'galerie+b%C3%A9atrice+binoche%2C+ile+de+la+R%C3%A9union+%3A+art+contemporain.+Les+artistes+soutenus+par+une+programmation+ouverte+et+transversale%2C+les+expositions+en+cours+et+%C3%A0+venir';
					                                                                    
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 */					                                                            
