/* [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','14390',jdecode('Accueil'),jdecode(''),'/14390.html','true',[],''],
	['PAGE','4598',jdecode('Actualit%C3%A9'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','28503',jdecode('Comit%C3%A9'),jdecode(''),'/28503.html','true',[],''],
	['PAGE','45201',jdecode('Adh%C3%A9rer'),jdecode(''),'/45201.html','true',[],''],
	['PAGE','4655',jdecode('Expositions'),jdecode(''),'/4655/index.html','true',[ 
		['PAGE','47901',jdecode('R%C3%A9sultats+2008'),jdecode(''),'/4655/47901.html','true',[],''],
		['PAGE','25203',jdecode('R%C3%A9sultats+2007'),jdecode(''),'/4655/25203.html','true',[],'']
	],''],
	['PAGE','29903',jdecode('Cavage'),jdecode(''),'/29903.html','true',[],''],
	['PAGE','32503',jdecode('BCE'),jdecode(''),'/32503/index.html','true',[ 
		['PAGE','33303',jdecode('R%C3%A9glement'),jdecode(''),'/32503/33303.html','true',[],'']
	],''],
	['PAGE','34103',jdecode('TAN+%2C+Grille+de+cotation'),jdecode(''),'/34103.html','true',[],''],
	['PAGE','45701',jdecode('Commissions+d%26%23x27%3B%C3%A9levage'),jdecode(''),'/45701.html','true',[],''],
	['PAGE','25803',jdecode('Barbet'),jdecode(''),'/25803/index.html','true',[ 
		['PAGE','25830',jdecode('Standard'),jdecode(''),'/25803/25830.html','true',[],''],
		['PAGE','25857',jdecode('+Chiots'),jdecode(''),'/25803/25857.html','true',[],'']
	],''],
	['PAGE','27003',jdecode('Lagotto+Romagnolo'),jdecode(''),'/27003/index.html','true',[ 
		['PAGE','27030',jdecode('Standard'),jdecode(''),'/27003/27030.html','true',[],''],
		['PAGE','27403',jdecode('Chiots'),jdecode(''),'/27003/27403.html','true',[],'']
	],''],
	['PAGE','27903',jdecode('Cao+De+Agua'),jdecode(''),'/27903/index.html','true',[ 
		['PAGE','27930',jdecode('Standard'),jdecode(''),'/27903/27930.html','true',[],''],
		['PAGE','27957',jdecode('Chiots'),jdecode(''),'/27903/27957.html','true',[],'']
	],''],
	['PAGE','36803',jdecode('Perro+De+Aqua'),jdecode(''),'/36803/index.html','true',[ 
		['PAGE','36830',jdecode('Standard'),jdecode(''),'/36803/36830.html','true',[],''],
		['PAGE','36857',jdecode('Chiots'),jdecode(''),'/36803/36857.html','true',[],'']
	],''],
	['PAGE','36884',jdecode('Wetterhoun'),jdecode(''),'/36884/index.html','true',[ 
		['PAGE','36911',jdecode('Standard'),jdecode(''),'/36884/36911.html','true',[],'']
	],''],
	['PAGE','36938',jdecode('American+Water+Spaniel'),jdecode(''),'/36938/index.html','true',[ 
		['PAGE','36965',jdecode('Standard'),jdecode(''),'/36938/36965.html','true',[],'']
	],''],
	['PAGE','35603',jdecode('Le+poil+des+Chiens+d%26%23x27%3BEau'),jdecode(''),'/35603.html','true',[],'']];
var siteelementCount=29;
theSitetree.topTemplateName='Inspiration';
theSitetree.paletteFamily='CCCC99';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='100';
theSitetree.graphicsetId='120';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CCCC99';
var theTemplate={
				name: 			'Inspiration',
				paletteFamily: 	'CCCC99',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'100',
				graphicsetId: 	'120',
				contentColor: 	'000000',
				contentBGColor: 'CCCC99',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'CCCC99',
				b_color: 		'99667A',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20090830-214603'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14390',
internalId:  '',
customField: '20090830-214142'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28503',
internalId:  '',
customField: '20090218-193717'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4655',
internalId:  '',
customField: '20090218-193812'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25203',
internalId:  '',
customField: '20071030-215616'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29903',
internalId:  '',
customField: '20070816-195104'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32503',
internalId:  '',
customField: '20081026-145808'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '33303',
internalId:  '',
customField: '20070829-200727'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34103',
internalId:  '',
customField: '20070828-192938'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25803',
internalId:  '',
customField: '20081030-200608'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25830',
internalId:  '',
customField: '20070829-200935'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25857',
internalId:  '',
customField: '20090707-222223'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27003',
internalId:  '',
customField: '20070705-084946'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27030',
internalId:  '',
customField: '20070829-195249'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27403',
internalId:  '',
customField: '20090616-214508'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27903',
internalId:  '',
customField: '20070829-201000'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27930',
internalId:  '',
customField: '20070705-150101'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27957',
internalId:  '',
customField: '20090601-134946'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36803',
internalId:  '',
customField: '20071023-113748'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36830',
internalId:  '',
customField: '20070924-214305'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36857',
internalId:  '',
customField: '20081223-183056'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36884',
internalId:  '',
customField: '20070924-143704'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36911',
internalId:  '',
customField: '20070924-153140'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36938',
internalId:  '',
customField: '20070924-143748'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36965',
internalId:  '',
customField: '20070924-162316'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35603',
internalId:  '',
customField: '20070920-205518'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45201',
internalId:  '',
customField: '20081223-183650'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45701',
internalId:  '',
customField: '20080223-152759'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47901',
internalId:  '',
customField: '20081026-161227'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INL0RB';
var companyName   = 'Club+du+Barbet+%2C+Lagotto+et+autres+Chiens+d%27Eau';
var htmlTitle	  = 'Club+du+Barbet%2C+Lagotto+et+Autres+chiens+dEau';
var metaKeywords  = 'Barbet+LagottoChien+deauCao+de+AguaChien+dEau+PortugaisPerro+de+Agua';
var metaContents  = 'Club+du+Barbet+%2C+Lagotto+et+Autres+Chiens+dEau+%28+Cao+de+Agua+%2C+Perro+de+Agua+%2C+Wetterhoun+et+American+Water+Spaniel+%29+.';
					                                                                    
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 */					                                                            
