/* [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','4509',jdecode('Home'),jdecode(''),'/4509.html','true',[],''],
	['PAGE','11924',jdecode('Garde+%C3%A0+notre+domicile'),jdecode(''),'/11924.html','true',[],''],
	['PAGE','11951',jdecode('Visite+%C3%A0+votre+domicile'),jdecode(''),'/11951.html','true',[],''],
	['PAGE','366120',jdecode('Taxi+animalier'),jdecode(''),'/366120.html','true',[],''],
	['PAGE','11978',jdecode('Nos+tarifs'),jdecode(''),'/11978.html','true',[],''],
	['PAGE','321426',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/321426/index.html','true',[ 
		['PAGE','321427',jdecode('Entr%C3%A9es'),jdecode(''),'/321426/321427.html','true',[],'']
	],''],
	['PAGE','370420',jdecode('Album+photos'),jdecode(''),'/370420.html','true',[],''],
	['PAGE','369120',jdecode('Prix+re%C3%A7u'),jdecode(''),'/369120.html','true',[],''],
	['PAGE','366720',jdecode('Liens+amis'),jdecode(''),'/366720.html','true',[],''],
	['PAGE','12005',jdecode('Contact'),jdecode(''),'/12005/index.html','true',[ 
		['PAGE','12151',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/12005/12151.html','false',[],'']
	],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Antigua';
theSitetree.paletteFamily='978B5C';
theSitetree.keyvisualId='6919';
theSitetree.keyvisualName='kv_6919.jpg';
theSitetree.fontsetId='11217';
theSitetree.graphicsetId='12039';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='B4A87B';
var theTemplate={
				name: 			'Antigua',
				paletteFamily: 	'978B5C',
				keyvisualId: 	'6919',
				keyvisualName: 	'kv_6919.jpg',
				fontsetId: 		'11217',
				graphicsetId: 	'12039',
				contentColor: 	'000000',
				contentBGColor: 'B4A87B',
				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['1001']={
webappId:    '1001',
documentId:  '12005',
internalId:  'aam010invy0p10e3cf9a5f2',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '12151',
internalId:  'aam010invy0p10e3cf9a5f2',
customField: 'followUp'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '321426',
internalId:  '321426aam010invy0p',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '321427',
internalId:  '321426aam010invy0p',
customField: 'action=list'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4509',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4509',
internalId:  '',
customField: '20100217-231019'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11924',
internalId:  '',
customField: '20080623-105827'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11951',
internalId:  '',
customField: '20090506-172558'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11978',
internalId:  '',
customField: '20100218-151123'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12005',
internalId:  '',
customField: '20100218-181910'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '321426',
internalId:  '',
customField: '20080623-105930'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12151',
internalId:  '',
customField: '20061012-164243'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '321427',
internalId:  '',
customField: '20061024-154824'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '366120',
internalId:  '',
customField: '20100321-105656'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '366720',
internalId:  '',
customField: '20100316-121510'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '370420',
internalId:  '126e1d119fe',
customField: 'g.14rgno024.onn39hc78q.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '369120',
internalId:  '',
customField: '20100218-152840'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '370420',
internalId:  '',
customField: '20100218-182504'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INVY0P';
var companyName   = 'Services+%C3%94+Anim%27%C3%94';
var htmlTitle	  = 'Services+%C3%94+Anim%C3%94';
var metaKeywords  = 'garde%2C+visite+domicile%2C+animal%2C+animaux%2C+domestiques%2C+chien%2C+chat%2C+oiseaux%2C+cochon+d+inde%2C+hamster%2C+perroquet%2C+promenade%2C+depart+vacances%2C+affection%2C+nourriture%2C+alimentation%2C+abreuvage%2C+hygiene%2C+litiere%2C+chiens+chats%2C+hospitalisation%2C+gardiennage%2C+31400%2C+pont+des+demoiselles%2C+compagnie%2C+petits+rongeurs%2C+jeux%2C+toulouse%2C+31%2C+prix%2C+domestique%2C+aniamux%2C+garde+vos+chiens+chats%2C+dog+sitting%2C+cat+sitting%2C+garderie+chien%2C+dog%2C+cat%2C+taxi+animalier%2C+promenades%2C+promenade+chien%2C+promenades+chiens%2C+promenade+chiens%2C+promenades+chien%2C+pension%2C+cr%C3%A8che+animaux%2C+cr%C3%A8che+chien%2C';
var metaContents  = 'Le+bien-%C3%AAtre+de+votre+animal+de+compagnie+et+son+rythme+de+vie+sont+essentiels.++Services+%C3%94+Anim%C3%94+assure+une+garde+personnalis%C3%A9e+afin+que+vous+nayez+plus+aucun+souci+lors+de+vos+d%C3%A9parts+en+vacances%2C+d%C3%A9placements+professionnels%2C+ou+autres+absences';
					                                                                    
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 */					                                                            
