/* [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','4599',jdecode('ACCUEIL'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','4656',jdecode('LES+BENEVOLES'),jdecode(''),'/4656.html','true',[],''],
	['PAGE','32617',jdecode('NOS+CO-ANIMATEURS+'),jdecode(''),'/32617.html','true',[],''],
	['PAGE','52303',jdecode('DEVENIR+BENEVOLE+SUR+DES+AAA+'),jdecode(''),'/52303.html','true',[],''],
	['PAGE','4683',jdecode('LE+CENTRE+DE+MEDIATION+ANIMALE'),jdecode(''),'/4683.html','true',[],''],
	['PAGE','12203',jdecode('MEDIATION+ANIMALE+%3F'),jdecode(''),'/12203.html','true',[],''],
	['PAGE','12230',jdecode('BIENFAITS+%3F'),jdecode(''),'/12230.html','true',[],''],
	['PAGE','4737',jdecode('POUR+QUI+%3F'),jdecode(''),'/4737/index.html','true',[ 
		['PAGE','4764',jdecode('Personnes+souffrant+d%26%23x27%3Bun+handicap+intellectuel'),jdecode(''),'/4737/4764.html','true',[],''],
		['PAGE','4791',jdecode('Personnes+%C3%A2g%C3%A9es+'),jdecode(''),'/4737/4791.html','true',[],''],
		['PAGE','4818',jdecode('Personnes+souffrant+d%26%23x27%3Bun+handicap+physique+'),jdecode(''),'/4737/4818.html','true',[],''],
		['PAGE','4845',jdecode('Enfants'),jdecode(''),'/4737/4845.html','true',[],''],
		['PAGE','4872',jdecode('Adolescents'),jdecode(''),'/4737/4872.html','true',[],''],
		['PAGE','4899',jdecode('D%C3%A9tenus'),jdecode(''),'/4737/4899.html','true',[],''],
		['PAGE','41903',jdecode('Personnes+souffrant+de+la+maladie+d%26%23x27%3BAlzheimer'),jdecode(''),'/4737/41903.html','true',[],'']
	],''],
	['PAGE','4926',jdecode('NOS+ACTIVITES+%3F'),jdecode(''),'/4926.html','true',[],''],
	['PAGE','7103',jdecode('LES+PROGRAMMES+%3F'),jdecode(''),'/7103.html','true',[],''],
	['PAGE','51203',jdecode('ATELIER+PARCOURS+LIBRE'),jdecode(''),'/51203.html','true',[],''],
	['PAGE','4980',jdecode('LA+CHARTE+D%26%23x27%3BENGAGEMENT'),jdecode(''),'/4980.html','true',[],''],
	['PAGE','226601',jdecode('DEVELOPPEMENT+DURABLE...'),jdecode(''),'/226601.html','true',[],''],
	['PAGE','23730',jdecode('PROJETS+2011'),jdecode(''),'/23730.html','true',[],''],
	['PAGE','5007',jdecode('DOSSIER+DE+PRESSE'),jdecode(''),'/5007.html','true',[],''],
	['PAGE','38503',jdecode('FORMATIONS+2012+MED+ANIMALE'),jdecode(''),'/38503.html','true',[],''],
	['PAGE','24109',jdecode('INFORMATIONS'),jdecode(''),'/24109.html','true',[],''],
	['PAGE','5061',jdecode('CONTACT'),jdecode(''),'/5061/index.html','true',[ 
		['PAGE','16302',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/5061/16302.html','false',[],'']
	],''],
	['PAGE','7703',jdecode('PARTENAIRES+%26+LIENS'),jdecode(''),'/7703.html','true',[],''],
	['PAGE','47203',jdecode('PETITES+ANNONCES+...'),jdecode(''),'/47203.html','true',[],''],
	['PAGE','56803',jdecode('NOUS+AIDER'),jdecode(''),'/56803.html','true',[],''],
	['PAGE','87501',jdecode('BIBLIOGRAPHIE'),jdecode(''),'/87501.html','true',[],''],
	['PAGE','105801',jdecode('Mentions+l%C3%A9gales'),jdecode(''),'/105801.html','true',[],''],
	['PAGE','267801',jdecode('album+photos'),jdecode(''),'/267801.html','true',[],''],
	['PAGE','286401',jdecode('VIDEOS+...'),jdecode(''),'/286401.html','true',[],''],
	['PAGE','319801',jdecode('QUE+DEVIENNENT+LES+STAGIAIRES+...'),jdecode(''),'/319801.html','true',[],''],
	['PAGE','337301',jdecode('CENTRE+DE+MEDIATION+ANIMALE'),jdecode(''),'/337301.html','true',[],'']];
var siteelementCount=35;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='B5D3B5';
theSitetree.keyvisualId='2054';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='329';
theSitetree.graphicsetId='384';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Stylus',
				paletteFamily: 	'B5D3B5',
				keyvisualId: 	'2054',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'329',
				graphicsetId: 	'384',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'B5D3B5',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5061',
internalId:  'aam010invh1x111ef7a8c7a',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '16302',
internalId:  'aam010invh1x111ef7a8c7a',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4599',
internalId:  '',
customField: '20120129-171251'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4599',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4599',
internalId:  '9564201',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47203',
internalId:  '',
customField: '20111119-192128'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56803',
internalId:  '',
customField: '20110306-091739'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23730',
internalId:  '',
customField: '20110813-092246'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4656',
internalId:  '',
customField: '20120121-075120'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32617',
internalId:  '',
customField: '20120120-175741'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52303',
internalId:  '',
customField: '20111217-143810'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4683',
internalId:  '',
customField: '20110702-141853'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12203',
internalId:  '',
customField: '20110827-200228'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12230',
internalId:  '',
customField: '20110827-201031'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4737',
internalId:  '',
customField: '20110612-083651'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4764',
internalId:  '',
customField: '20100827-102204'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4791',
internalId:  '',
customField: '20091211-182433'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4818',
internalId:  '',
customField: '20081126-182436'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4845',
internalId:  '',
customField: '20100827-102429'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4872',
internalId:  '',
customField: '20100827-103918'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4899',
internalId:  '',
customField: '20110125-074953'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41903',
internalId:  '',
customField: '20101123-060030'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4926',
internalId:  '',
customField: '20110321-054848'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51203',
internalId:  '',
customField: '20120116-115232'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7103',
internalId:  '',
customField: '20080902-155048'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4980',
internalId:  '',
customField: '20090107-183019'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '286401',
internalId:  '',
customField: '20110415-095357'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '226601',
internalId:  '',
customField: '20120116-115440'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38503',
internalId:  '',
customField: '20120205-092746'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5007',
internalId:  '',
customField: '20111217-143036'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24109',
internalId:  '',
customField: '20120129-173126'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5061',
internalId:  '',
customField: '20070414-114806'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16302',
internalId:  '',
customField: '20070414-114417'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '267801',
internalId:  '1296d40da4b',
customField: 'g.155mjn0b3.ifvu56bkha.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7703',
internalId:  '',
customField: '20120107-100943'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87501',
internalId:  '',
customField: '20101119-133510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '105801',
internalId:  '',
customField: '20111217-141612'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '337301',
internalId:  '13558ac7151',
customField: 'g.16lcafl7j.45sel57d8ld.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '319801',
internalId:  '',
customField: '20111209-114521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '337301',
internalId:  '',
customField: '20120207-173632'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '267801',
internalId:  '',
customField: '20100828-094715'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INVH1X';
var companyName   = 'AGE+QUOD+AGIS+%21';
var htmlTitle	  = 'Pr%C3%A9sence+Animale';
var metaKeywords  = 'zooth%C3%A9rapie%2C+m%C3%A9diation+animale%2C+aide+aux+personnes+en+difficult%C3%A9s%2C+fragilis%C3%A9es+activit%C3%A9s+associant+lanimal%2C+chamoux-sur-gelon%2C+savoie%2C+haute-savoie%2C+is%C3%A8re%2C+suisse%2C+formation+%C3%A0+la+m%C3%A9diation+animale+octobre+2012%2C+interventions+r%C3%A9cr%C3%A9atives%2C+pr%C3%A9ventives%2C+de+bien-%C3%AAtre%2C+%C3%A9ducatives%2C+en+maisons+de+retraite%2C+foyers+de+vie%2C+%C3%A9coles%2C+centre+p%C3%A9nitentiaire%2C+IMA%2C+SESSAD%2C+EHPAD%2CMAS%2C...';
var metaContents  = 'intervention+en+activit%C3%A9s+associant+lanimal%2C+mediation+animale%2C+en+maisons+de+retraite%2C+foyers+de+vie+pour+des+personnes+handicap%C3%A9es+et%2Fou+polyhandicap%C3%A9es%2C+IME%2C+EHPAD%2CFAM%2CSESSAD%2C+MAS%2C+centre+p%C3%A9nitentiaire%2C+accompagnements+individualis%C3%A9s+et%2Fou+groupes%2C+formation+en+m%C3%A9diation+animale+pour+les+professionnels+du+m%C3%A9dico-social+et+b%C3%A9n%C3%A9voles+octobre+2012';
					                                                                    
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 */					                                                            

