/* [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','4652',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/4652.html','true',[],''],
	['PAGE','19001',jdecode('Qui+est+CHRIS'),jdecode(''),'/19001/index.html','true',[ 
		['PAGE','4625',jdecode('Commen%C3%A7ons+par...'),jdecode(''),'/19001/4625.html','true',[],''],
		['PAGE','19028',jdecode('Biographie'),jdecode(''),'/19001/19028.html','true',[],'']
	],''],
	['PAGE','4817',jdecode('Oeuvres'),jdecode(''),'/4817/index.html','true',[ 
		['PAGE','157607',jdecode('La+Mer'),jdecode(''),'/4817/157607.html','true',[],''],
		['PAGE','48301',jdecode('Cahier+N%C2%B01'),jdecode(''),'/4817/48301.html','true',[],''],
		['PAGE','53501',jdecode('Cahier+N%C2%B02'),jdecode(''),'/4817/53501.html','true',[],''],
		['PAGE','58601',jdecode('Cahier+N%C2%B03'),jdecode(''),'/4817/58601.html','true',[],''],
		['PAGE','64737',jdecode('Cahier+N%C2%B04'),jdecode(''),'/4817/64737.html','true',[],''],
		['PAGE','19601',jdecode('Chez+CHRIS'),jdecode(''),'/4817/19601.html','true',[],''],
		['PAGE','7752',jdecode('Hors+s%C3%A9rie'),jdecode(''),'/4817/7752.html','true',[],'']
	],''],
	['PAGE','4736',jdecode('Les+Expositions'),jdecode(''),'/4736/index.html','true',[ 
		['PAGE','170407',jdecode('St+Omer+Mus%C3%A9e+Sandelin'),jdecode(''),'/4736/170407.html','true',[],''],
		['PAGE','146407',jdecode('Rouen+avec+CIC'),jdecode(''),'/4736/146407.html','true',[],''],
		['PAGE','147707',jdecode('Hermitage+Gantois'),jdecode(''),'/4736/147707.html','true',[],''],
		['PAGE','136107',jdecode('Olivet+'),jdecode(''),'/4736/136107.html','true',[],''],
		['PAGE','140307',jdecode('Vernissage'),jdecode(''),'/4736/140307.html','true',[],''],
		['PAGE','132507',jdecode('Moulin+de+Maintenay'),jdecode(''),'/4736/132507.html','true',[],''],
		['PAGE','130207',jdecode('Le+Touquet'),jdecode(''),'/4736/130207.html','true',[],''],
		['PAGE','5870',jdecode('St+Pol+%2F+Ternoise'),jdecode(''),'/4736/5870.html','true',[],''],
		['PAGE','122807',jdecode('Vernissage'),jdecode(''),'/4736/122807.html','true',[],''],
		['PAGE','127007',jdecode('Chris+et+les+%C3%A9l%C3%A8ves'),jdecode(''),'/4736/127007.html','true',[],'']
	],''],
	['PAGE','119775',jdecode('St%26%23x27%3BArt+Strasbourg'),jdecode(''),'/119775.html','true',[],''],
	['PAGE','153607',jdecode('Ventes+Publiques'),jdecode(''),'/153607.html','true',[],''],
	['PAGE','112801',jdecode('Galerie+Vivienne'),jdecode(''),'/112801/index.html','true',[ 
		['PAGE','112828',jdecode('Le+Vernissage'),jdecode(''),'/112801/112828.html','true',[],'']
	],''],
	['PAGE','4763',jdecode('La+Salp%C3%AAtri%C3%A8re'),jdecode(''),'/4763/index.html','true',[ 
		['PAGE','8014',jdecode('Paris+le+06%2F10%2F05'),jdecode(''),'/4763/8014.html','true',[],''],
		['PAGE','12496',jdecode('Oeuvres+expos%C3%A9es'),jdecode(''),'/4763/12496.html','true',[],''],
		['PAGE','9501',jdecode('On+y+a+vu....'),jdecode(''),'/4763/9501.html','true',[],'']
	],''],
	['PAGE','41201',jdecode('Votre+avis....'),jdecode(''),'/41201/index.html','true',[ 
		['PAGE','41669',jdecode('N%C2%B01'),jdecode(''),'/41201/41669.html','true',[],''],
		['PAGE','108901',jdecode('N%C2%B02'),jdecode(''),'/41201/108901.html','true',[],'']
	],''],
	['PAGE','4871',jdecode('Ils+ont+dit.......'),jdecode(''),'/4871/index.html','true',[ 
		['PAGE','30901',jdecode('Presse'),jdecode(''),'/4871/30901.html','true',[],''],
		['PAGE','11199',jdecode('Magazines'),jdecode(''),'/4871/11199.html','true',[],'']
	],''],
	['PAGE','4844',jdecode('Bibliographie'),jdecode(''),'/4844.html','true',[],''],
	['PAGE','4898',jdecode('Contacts'),jdecode(''),'/4898/index.html','true',[ 
		['PAGE','4925',jdecode('t%C3%A9l%C3%A9phone%2C+email'),jdecode(''),'/4898/4925.html','true',[],''],
		['PAGE','7494',jdecode('Cadr%26%23x27%3BArtois'),jdecode(''),'/4898/7494.html','true',[],''],
		['PAGE','23401',jdecode('Editions%2FPresse'),jdecode(''),'/4898/23401.html','true',[],'']
	],''],
	['PAGE','30102',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/30102/index.html','true',[ 
		['PAGE','30103',jdecode('Entr%C3%A9es'),jdecode(''),'/30102/30103.html','true',[],''],
		['PAGE','80201',jdecode('Liens'),jdecode(''),'/30102/80201.html','true',[],'']
	],'']];
var siteelementCount=45;
theSitetree.topTemplateName='Eatdrink';
theSitetree.paletteFamily='807F7F';
theSitetree.keyvisualId='3358';
theSitetree.keyvisualName='kv_3358.jpg';
theSitetree.fontsetId='10622';
theSitetree.graphicsetId='10737';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Eatdrink',
				paletteFamily: 	'807F7F',
				keyvisualId: 	'3358',
				keyvisualName: 	'kv_3358.jpg',
				fontsetId: 		'10622',
				graphicsetId: 	'10737',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'A83C3C',
				e_color: 		'A83C3C',
				f_color: 		'A83C3C',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4652',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '30102',
internalId:  '30102aam010in3g00',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '30103',
internalId:  '30102aam010in3g00',
customField: 'action=list'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4652',
internalId:  '6338748',
customField: '1501'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '41669',
internalId:  '10801f8699a.5ab4de1a',
customField: 'fr:FR:'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '108901',
internalId:  '10baaeb6876.ff70267b',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4652',
internalId:  '',
customField: '20120129-213036'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4736',
internalId:  '',
customField: '20090424-101211'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136107',
internalId:  '',
customField: '20071018-152201'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19001',
internalId:  '',
customField: '20090424-100111'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4625',
internalId:  '',
customField: '20110414-122123'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19028',
internalId:  '',
customField: '20090424-100332'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4817',
internalId:  '',
customField: '20110209-214812'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48301',
internalId:  '',
customField: '20090424-100619'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '53501',
internalId:  '',
customField: '20090424-100746'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '58601',
internalId:  '',
customField: '20090424-100827'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '64737',
internalId:  '',
customField: '20090424-100926'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19601',
internalId:  '',
customField: '20120120-123734'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7752',
internalId:  '',
customField: '20090424-101113'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '132507',
internalId:  '',
customField: '20110209-222747'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '130207',
internalId:  '',
customField: '20110209-223338'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5870',
internalId:  '',
customField: '20110209-222906'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122807',
internalId:  '',
customField: '20120129-213632'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '127007',
internalId:  '',
customField: '20090424-102121'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '119775',
internalId:  '',
customField: '20110209-220542'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '112801',
internalId:  '',
customField: '20110209-220640'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '112828',
internalId:  '',
customField: '20090424-102526'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4763',
internalId:  '',
customField: '20080425-225226'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8014',
internalId:  '',
customField: '20070202-202734'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12496',
internalId:  '',
customField: '20061008-163222'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9501',
internalId:  '',
customField: '20060828-234519'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41201',
internalId:  '',
customField: '20060828-234534'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41669',
internalId:  '',
customField: '20060828-234602'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '108901',
internalId:  '',
customField: '20060828-232905'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4871',
internalId:  '',
customField: '20080314-181357'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30901',
internalId:  '',
customField: '20070929-110939'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11199',
internalId:  '',
customField: '20061008-163343'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4844',
internalId:  '',
customField: '20090424-103136'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4898',
internalId:  '',
customField: '20070929-111051'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4925',
internalId:  '',
customField: '20110209-192641'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7494',
internalId:  '',
customField: '20060828-233558'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23401',
internalId:  '',
customField: '20061008-163442'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30102',
internalId:  '',
customField: '20061008-163506'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30103',
internalId:  '',
customField: '20051124-010009'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '80201',
internalId:  '',
customField: '20060108-210516'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '146407',
internalId:  '',
customField: '20120129-213353'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '140307',
internalId:  '',
customField: '20110209-223041'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '147707',
internalId:  '',
customField: '20080220-221719'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '153607',
internalId:  '',
customField: '20090424-102234'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '157607',
internalId:  '',
customField: '20080930-224021'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '170407',
internalId:  '',
customField: '20120131-192651'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3G00';
var companyName   = 'CHRIS';
var htmlTitle	  = 'CHRIS+%28+Christian+Weppe+dit+%29+artiste+peintre.+Son+oeuvre+et+son+actualit%C3%A9.';
var metaKeywords  = 'CHRIS%2CChristian+Weppe%2C+peintre%2C+peinture%2C+peintre+fran%C3%A7ais%2Cartiste+peintre%2Cpicardie%2C+art%2C+art+work%2Cpainter%2Cfrench+painter%2C+french+contemporary+painter%2C+french+gallery+of+art%2C+Tortefontaine%2C+abbaye+de+Dommartin%2C+oeuvre%2C+actualit%C3%A9%2C+exposition%2C+chapelle+de+la+salp%C3%A9tri%C3%A9re%2C+loudun%2C+maitre%2C+paul+Lombard%2C%C3%A9pave%2C+colloquinte%2Ctorchis%2Cmur+d%C3%A9labr%C3%A9%2C+artiste%2C+porte%2C+Venise%2Cbretagne%2C+Etel%2C+vernissage%2C+pigments%2C+blanc+d+argent%2C+nombre+d+or%2C+vall%C3%A9e+de+l+authie%2C+foret+de+crecy+en+ponthieu%2C+hesdin%2Cartois%2C+abbaye+de+valloires%2Cmoulin+de+maintenay%2C7+vall%C3%A9es%2C';
var metaContents  = 'Peinture+CHRIS+%28Christian+Weppe+dit%29.Art%2C+exposition+peinture%2C+gallerie+%2Ctableau%2C+biographie%2C+bibliographie%2Cphotos%2C+vernissage%2C+peintre+contemporain%2C+peinture+contemporaine%2C+oeuvre%2C+art%2C+contemporain%2C+artiste+peintre';
					                                                                    
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 */					                                                            

