/* [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','401',jdecode('L%26%23x27%3BESSENTIEL'),jdecode(''),'/401/index.html','true',[ 
		['PAGE','16301',jdecode('Actualit%C3%A9+---'),jdecode(''),'/401/16301.html','true',[],''],
		['PAGE','620',jdecode('Bibliographie+---'),jdecode(''),'/401/620.html','true',[],''],
		['PAGE','16001',jdecode('En+librairie+---'),jdecode(''),'/401/16001.html','true',[],''],
		['PAGE','641',jdecode('Contact+---'),jdecode(''),'/401/641.html','true',[],''],
		['PAGE','75112',jdecode('Historique+---'),jdecode(''),'/401/75112.html','true',[],'']
	],''],
	['PAGE','452',jdecode('THEATRE'),jdecode(''),'/452/index.html','true',[ 
		['PAGE','69012',jdecode('Mise+%C3%A0+Mots+---'),jdecode(''),'/452/69012.html','true',[],''],
		['PAGE','494',jdecode('Auto-psy+---'),jdecode(''),'/452/494.html','true',[],''],
		['PAGE','515',jdecode('Griotte+---'),jdecode(''),'/452/515.html','true',[],''],
		['PAGE','473',jdecode('Chapitre+1704+---'),jdecode(''),'/452/473.html','true',[],''],
		['PAGE','536',jdecode('L%26%23x27%3BAiguilleur+du+Ciel+---'),jdecode(''),'/452/536.html','true',[],''],
		['PAGE','50012',jdecode('Le+Vol+de+la+Mouche+---'),jdecode(''),'/452/50012.html','true',[],''],
		['PAGE','16322',jdecode('Galerie+d%26%23x27%3Baffiches+---'),jdecode(''),'/452/16322.html','true',[],'']
	],''],
	['PAGE','32312',jdecode('ROMAN'),jdecode(''),'/32312.html','true',[],''],
	['PAGE','90512',jdecode('PIECES+COURTES+%28THEATRE%29'),jdecode(''),'/90512/index.html','true',[ 
		['PAGE','31833',jdecode('Canicule+---'),jdecode(''),'/90512/31833.html','true',[],''],
		['PAGE','90533',jdecode('Besoin+de+M%C3%A9diterran%C3%A9e+%3F+---'),jdecode(''),'/90512/90533.html','true',[],'']
	],''],
	['PAGE','31812',jdecode('NOUVELLES+et+POESIES'),jdecode(''),'/31812/index.html','true',[ 
		['PAGE','89312',jdecode('Neige+---'),jdecode(''),'/31812/89312.html','true',[],''],
		['PAGE','69033',jdecode('J%C3%A9sus+du+Chaptal+---'),jdecode(''),'/31812/69033.html','true',[],''],
		['PAGE','71212',jdecode('El+ni%C3%B1o+azul+---'),jdecode(''),'/31812/71212.html','true',[],''],
		['PAGE','31854',jdecode('Torero+pointure+36+---'),jdecode(''),'/31812/31854.html','true',[],''],
		['PAGE','85212',jdecode('Poesies+---'),jdecode(''),'/31812/85212.html','true',[],'']
	],''],
	['PAGE','70312',jdecode('CONTRIBUTIONS'),jdecode(''),'/70312/index.html','true',[ 
		['PAGE','70333',jdecode('Cigarette+---'),jdecode(''),'/70312/70333.html','true',[],''],
		['PAGE','79812',jdecode('Matin+cailloux+---'),jdecode(''),'/70312/79812.html','true',[],''],
		['PAGE','7301',jdecode('Curry+au+gingembre+---'),jdecode(''),'/70312/7301.html','true',[],''],
		['PAGE','74312',jdecode('Billet+d%26%23x27%3Bhumeur+Narbonne+---'),jdecode(''),'/70312/74312.html','true',[],'']
	],''],
	['PAGE','35412',jdecode('GALERIES'),jdecode(''),'/35412/index.html','true',[ 
		['PAGE','7601',jdecode('Peintures+1+---'),jdecode(''),'/35412/7601.html','true',[],''],
		['PAGE','35433',jdecode('Peintures+2+---'),jdecode(''),'/35412/35433.html','true',[],''],
		['PAGE','22501',jdecode('Dessins+1+---'),jdecode(''),'/35412/22501.html','true',[],''],
		['PAGE','36712',jdecode('Dessins+2+---'),jdecode(''),'/35412/36712.html','true',[],''],
		['PAGE','22522',jdecode('Aquarelles+---'),jdecode(''),'/35412/22522.html','true',[],''],
		['PAGE','12801',jdecode('Sculptures+---'),jdecode(''),'/35412/12801.html','true',[],''],
		['PAGE','86812',jdecode('Acryliques+2010+---'),jdecode(''),'/35412/86812.html','true',[],'']
	],''],
	['PAGE','557',jdecode('AUTRES+EXPERIENCES'),jdecode(''),'/557/index.html','true',[ 
		['PAGE','578',jdecode('Bandes+dessin%C3%A9es+---'),jdecode(''),'/557/578.html','true',[],''],
		['PAGE','5901',jdecode('Musique+---'),jdecode(''),'/557/5901.html','true',[],'']
	],''],
	['PAGE','10901',jdecode('DIVERS'),jdecode(''),'/10901/index.html','true',[ 
		['PAGE','10943',jdecode('Cr%C3%A9dits+photos+---'),jdecode(''),'/10901/10943.html','true',[],''],
		['PAGE','10922',jdecode('Petit+jeu+idiot+%21+---'),jdecode(''),'/10901/10922.html','true',[],''],
		['PAGE','20201',jdecode('On+en+parle+---'),jdecode(''),'/10901/20201.html','true',[],''],
		['PAGE','52512',jdecode('Vu+par+les+autres+---'),jdecode(''),'/10901/52512.html','true',[],''],
		['PAGE','662',jdecode('Liens+amis+---'),jdecode(''),'/10901/662.html','true',[],'']
	],'']];
var siteelementCount=46;
theSitetree.topTemplateName='Inspiration';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='102';
theSitetree.graphicsetId='123';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Inspiration',
				paletteFamily: 	'000000',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'102',
				graphicsetId: 	'123',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'669999',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20110123-150147'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20090201-115226'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '641',
internalId:  '',
customField: '20090325-211116'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '620',
internalId:  '',
customField: '20110123-153647'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '473',
internalId:  '',
customField: '20090506-143645'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '494',
internalId:  '',
customField: '20110123-213205'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '515',
internalId:  '',
customField: '20090409-141021'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '536',
internalId:  '',
customField: '20100105-220427'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '557',
internalId:  '',
customField: '20081029-222535'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '578',
internalId:  '',
customField: '20100826-190432'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22522',
internalId:  '',
customField: '20100822-194328'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '662',
internalId:  '',
customField: '20090216-184406'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5901',
internalId:  '',
customField: '20110123-164254'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '401',
internalId:  '3846491',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7301',
internalId:  '',
customField: '20100113-132713'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7601',
internalId:  '',
customField: '20081030-181717'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10901',
internalId:  '',
customField: '20090907-205308'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10943',
internalId:  '',
customField: '20090907-210543'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10922',
internalId:  '',
customField: '20081210-143202'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12801',
internalId:  '',
customField: '20090124-144223'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20110123-162746'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16322',
internalId:  '',
customField: '20100818-152712'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16001',
internalId:  '',
customField: '20110123-154030'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20201',
internalId:  '',
customField: '20100818-153455'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22501',
internalId:  '',
customField: '20081030-181615'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31812',
internalId:  '',
customField: '20110123-164633'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32312',
internalId:  '',
customField: '20090603-194944'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31833',
internalId:  '',
customField: '20081215-194315'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31854',
internalId:  '',
customField: '20100113-142947'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35412',
internalId:  '',
customField: '20090122-204940'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35433',
internalId:  '',
customField: '20081030-181830'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36712',
internalId:  '',
customField: '20081030-182004'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50012',
internalId:  '',
customField: '20090209-221121'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52512',
internalId:  '',
customField: '20100818-154301'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '69012',
internalId:  '',
customField: '20100125-211505'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '70312',
internalId:  '',
customField: '20100113-140434'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '70333',
internalId:  '',
customField: '20100309-121932'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '69033',
internalId:  '',
customField: '20110123-163615'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '71212',
internalId:  '',
customField: '20110123-154809'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '74312',
internalId:  '',
customField: '20100113-153538'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '75112',
internalId:  '',
customField: '20110123-151226'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79812',
internalId:  '',
customField: '20100309-210829'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85212',
internalId:  '',
customField: '20100822-194422'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '86812',
internalId:  '',
customField: '20100825-153319'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '89312',
internalId:  '',
customField: '20110123-163651'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90512',
internalId:  '',
customField: '20110126-191353'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90533',
internalId:  '',
customField: '20110123-170552'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZC4I';
var companyName   = 'G%C3%A9rald+GRUHN+-+artiste';
var htmlTitle	  = 'G%C3%A9rald+GRUHN%2C+site+officiel';
var metaKeywords  = 'theatre+th%C3%A9%C3%A2tre+contemporain+com%C3%A9dien+josiane+pinson+g%C3%A9rald+gerald+gruhn+auto+psy+autopsy+loz%C3%A8re+humour+texte+one+man+show+humour+auteur+ecrivain+roman+BD+pi%C3%A8ce+piece+djamel+debouze+gad+elmaleh';
var metaContents  = 'theatre+th%C3%A9%C3%A2tre+contemporain+com%C3%A9dien+josiane+pinson+g%C3%A9rald+gerald+gruhn+auto+psy+autopsy+loz%C3%A8re+humour+texte+one+man+show+humour+auteur+ecrivain+roman+BD+pi%C3%A8ce+piece+djamel+debouze+gad+elmaleh';
					                                                                    
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 */					                                                            

