/* [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('Home'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','87903',jdecode('BORDERS+COLLIES'),jdecode(''),'/87903.html','true',[],''],
	['PAGE','313592',jdecode('NEWS+%2F+NOUVELLES'),jdecode(''),'/313592.html','true',[],''],
	['PAGE','143892',jdecode('Apollo+z+Jasminovych+Hor'),jdecode(''),'/143892.html','true',[],''],
	['PAGE','248292',jdecode('CH.Tender+Flash+Diesel'),jdecode(''),'/248292.html','true',[],''],
	['PAGE','267892',jdecode('Extrem+Chacra+'),jdecode(''),'/267892.html','true',[],''],
	['PAGE','329292',jdecode('CH.Freedom+Spirit+Fast+and+Furious'),jdecode(''),'/329292.html','true',[],''],
	['PAGE','178792',jdecode('Alisha+z+Jasminovych+Hor'),jdecode(''),'/178792.html','true',[],''],
	['PAGE','248313',jdecode('Tender+Flash+Drew+Barrymore'),jdecode(''),'/248313.html','true',[],''],
	['PAGE','164792',jdecode('Dancing+Queen'),jdecode(''),'/164792.html','true',[],''],
	['PAGE','279113',jdecode('CH.Excellium+Golden+%22Vista%22'),jdecode(''),'/279113.html','true',[],''],
	['PAGE','290055',jdecode('F%E2%80%99Tender+Whispering+Molly'),jdecode(''),'/290055.html','true',[],''],
	['PAGE','317292',jdecode('Borderguard+Adorable'),jdecode(''),'/317292.html','true',[],''],
	['PAGE','317313',jdecode('CH.Tender+Flash+Galia+Supra+Star'),jdecode(''),'/317313.html','true',[],''],
	['PAGE','329313',jdecode('Freedom+Spirit+And+Anarchy'),jdecode(''),'/329313.html','true',[],''],
	['PAGE','305292',jdecode('Breeding+Plan'),jdecode(''),'/305292.html','true',[],''],
	['PAGE','290076',jdecode('Litters+%2F+Port%C3%A9es'),jdecode(''),'/290076.html','true',[],''],
	['PAGE','4926',jdecode('Available+puppies'),jdecode(''),'/4926.html','true',[],''],
	['PAGE','43203',jdecode('Guarantees+Puppies'),jdecode(''),'/43203.html','true',[],''],
	['PAGE','305313',jdecode('Adultes+for+Sale'),jdecode(''),'/305313.html','true',[],''],
	['PAGE','222255',jdecode('TRANSPORTS+SERVICES'),jdecode(''),'/222255.html','true',[],''],
	['PAGE','117670',jdecode('L%C3%A9gislations+'),jdecode(''),'/117670.html','true',[],''],
	['PAGE','4656',jdecode('Page+de+contact'),jdecode(''),'/4656.html','true',[],''],
	['PAGE','4953',jdecode('Contact+-+Adresse+'),jdecode(''),'/4953.html','true',[],''],
	['PAGE','12449',jdecode('Acc%C3%A8s+-+Ou+nous+retrouver'),jdecode(''),'/12449.html','true',[],''],
	['PAGE','237744',jdecode('LIENS'),jdecode(''),'/237744.html','true',[],''],
	['PAGE','94572',jdecode('Chatterie+'),jdecode(''),'/94572/index.html','true',[ 
		['PAGE','97071',jdecode('JACO+-+Animaux+domestiques+%28volgende+pagina%29'),jdecode(''),'/94572/97071.html','false',[],'']
	],'']];
var siteelementCount=28;
theSitetree.topTemplateName='Lifecycle';
theSitetree.paletteFamily='D85651';
theSitetree.keyvisualId='4460';
theSitetree.keyvisualName='kv_4460.jpg';
theSitetree.fontsetId='10817';
theSitetree.graphicsetId='11264';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='7F7F7F';
var theTemplate={
				name: 			'Lifecycle',
				paletteFamily: 	'D85651',
				keyvisualId: 	'4460',
				keyvisualName: 	'kv_4460.jpg',
				fontsetId: 		'10817',
				graphicsetId: 	'11264',
				contentColor: 	'FFFFFF',
				contentBGColor: '7F7F7F',
				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['1008']={
webappId:    '1008',
documentId:  '4656',
internalId:  '11850731',
customField: 'fr:FR:'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4599',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '12449',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4599',
internalId:  '3773250',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '290055',
internalId:  '',
customField: '20101214-083008'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '164792',
internalId:  '',
customField: '20101214-082306'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '279113',
internalId:  '',
customField: '20111129-145846'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4599',
internalId:  '',
customField: '20111129-144955'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4926',
internalId:  '',
customField: '20111129-152213'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '143892',
internalId:  '',
customField: '20110303-225010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87903',
internalId:  '',
customField: '20100208-035951'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43203',
internalId:  '',
customField: '20090412-144033'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '305313',
internalId:  '',
customField: '20111129-152303'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '222255',
internalId:  '',
customField: '20090115-231649'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '267892',
internalId:  '',
customField: '20111129-145311'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '317313',
internalId:  '',
customField: '20111129-150145'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4656',
internalId:  '',
customField: '20100429-234224'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '178792',
internalId:  '',
customField: '20111129-145607'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4953',
internalId:  '',
customField: '20100429-234347'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12449',
internalId:  '',
customField: '20070909-020206'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94572',
internalId:  '',
customField: '20111129-152911'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97071',
internalId:  '',
customField: '20070509-005014'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '329292',
internalId:  '',
customField: '20111129-145502'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '117670',
internalId:  '',
customField: '20071013-001948'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '290076',
internalId:  '',
customField: '20111129-151019'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '305292',
internalId:  '',
customField: '20110531-143619'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '329313',
internalId:  '',
customField: '20110116-100350'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '237744',
internalId:  '',
customField: '20110606-102838'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '248292',
internalId:  '',
customField: '20111129-145203'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '248313',
internalId:  '',
customField: '20101214-082208'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '313592',
internalId:  '',
customField: '20111129-144922'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '317292',
internalId:  '',
customField: '20101214-083116'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INEUZP';
var companyName   = 'ROSALIE+%26+COMPAGNIE';
var htmlTitle	  = 'Rosalie+Compagnie+-+Saqqaras+Pension+Chat+-';
var metaKeywords  = 'chiens+chats+elevages+elevage+border+collie+chatons+chiots+animaux+agrements+chevre+naine+mininaine+nubienne+gottingen+rosalie+border+troupeaux+chiots+chatons+rosalie+animaux+de+parcs+transports+pension+feline+chihuahua+chihuahua+border+bouvier+australien+australien+cattle+dog+merle+rouge+merle+bleu+border+berger+australien+collie+de+frontiere+';
var metaContents  = '+chiens+chats+elevage+border+collie+ANIMAUX+AGREMENTS%2C+cochons+chevres+naines+%2C+animaux+de+compagnie%2C+animaux+de+parcs+rosalie+chiots+chatons+border+troupeaux+chevres+mini+cochon+gottingen+cochon+transport+pension+border+bouvier+australien+australien+cattle+dog+';
					                                                                    
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 */					                                                            

