/* [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','301',jdecode('Accueil'),jdecode(''),'/301.html','true',[],''],
	['PAGE','5701',jdecode('Historique+'),jdecode(''),'/5701.html','true',[],''],
	['PAGE','5722',jdecode('Leur+%C3%A9ducation+'),jdecode(''),'/5722.html','true',[],''],
	['PAGE','101601',jdecode('Nos+Deux+Goldens+'),jdecode(''),'/101601.html','true',[],''],
	['PAGE','112601',jdecode('Photos'),jdecode(''),'/112601.html','true',[],''],
	['PAGE','61522',jdecode('BIBI+BLUE'),jdecode(''),'/61522.html','true',[],''],
	['PAGE','113501',jdecode('Photos+'),jdecode(''),'/113501.html','true',[],''],
	['PAGE','13001',jdecode('Quelques+expos+'),jdecode(''),'/13001.html','true',[],''],
	['PAGE','102101',jdecode('DJIPSSY'),jdecode(''),'/102101.html','true',[],''],
	['PAGE','96601',jdecode('Photos+'),jdecode(''),'/96601.html','true',[],''],
	['PAGE','110001',jdecode('Quelques+expos'),jdecode(''),'/110001.html','true',[],''],
	['PAGE','114101',jdecode('CHIOTS'),jdecode(''),'/114101/index.html','true',[ 
		['PAGE','59601',jdecode('Naissance'),jdecode(''),'/114101/59601.html','true',[],''],
		['PAGE','65401',jdecode('Chiots+5%C3%A8me+jour+'),jdecode(''),'/114101/65401.html','true',[],''],
		['PAGE','66801',jdecode('Chiots+10%C3%A8me+jour+'),jdecode(''),'/114101/66801.html','true',[],''],
		['PAGE','72901',jdecode('Chiots+2+semaines'),jdecode(''),'/114101/72901.html','true',[],''],
		['PAGE','78801',jdecode('Chiots+3+semaines+'),jdecode(''),'/114101/78801.html','true',[],''],
		['PAGE','80401',jdecode('Chiots+1+mois+'),jdecode(''),'/114101/80401.html','true',[],''],
		['PAGE','86001',jdecode('Chiots+1+mois+et+demi'),jdecode(''),'/114101/86001.html','true',[],''],
		['PAGE','92401',jdecode('Chiots+2+mois+'),jdecode(''),'/114101/92401.html','true',[],''],
		['PAGE','99801',jdecode('Chiots+photos+r%C3%A9centes++'),jdecode(''),'/114101/99801.html','true',[],'']
	],''],
	['PAGE','35701',jdecode('Port%C3%A9e+2008+-+Pedigree+'),jdecode(''),'/35701.html','true',[],''],
	['PAGE','61501',jdecode('L%26%23x27%3BEtalon+recommand%C3%A9+'),jdecode(''),'/61501.html','true',[],''],
	['PAGE','13701',jdecode('NOUS+CONTACTER+'),jdecode(''),'/13701.html','true',[],''],
	['PAGE','13127',jdecode('Merci+%C3%A0+C.+GRASSER+'),jdecode(''),'/13127.html','true',[],''],
	['PAGE','25701',jdecode('Merci+%C3%A0+A+SCHMITT'),jdecode(''),'/25701.html','true',[],''],
	['PAGE','99006',jdecode('LIVRE+D%26%23x27%3BOR+'),jdecode(''),'/99006/index.html','true',[ 
		['PAGE','99001',jdecode('Entr%C3%A9es'),jdecode(''),'/99006/99001.html','true',[],'']
	],'']];
var siteelementCount=28;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='A95C61';
theSitetree.keyvisualId='2055';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='281';
theSitetree.graphicsetId='345';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='A95C61';
var theTemplate={
				name: 			'Architekt',
				paletteFamily: 	'A95C61',
				keyvisualId: 	'2055',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'281',
				graphicsetId: 	'345',
				contentColor: 	'000066',
				contentBGColor: 'A95C61',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'A95C61',
				b_color: 		'7F162D',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '301',
internalId:  '',
customField: '20100101-131516'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5701',
internalId:  '',
customField: '20080530-101448'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '301',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5722',
internalId:  '',
customField: '20090522-173716'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114101',
internalId:  '',
customField: '20100101-132218'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13127',
internalId:  '',
customField: '20080624-132035'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61522',
internalId:  '',
customField: '20090523-111004'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13001',
internalId:  '',
customField: '20090614-191813'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61501',
internalId:  '',
customField: '20080711-172829'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59601',
internalId:  '',
customField: '20080828-211523'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20090523-085217'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25701',
internalId:  '',
customField: '20090523-124551'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '65401',
internalId:  '',
customField: '20080828-211556'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35701',
internalId:  '',
customField: '20080628-121558'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '301',
internalId:  '2848230',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '92401',
internalId:  '',
customField: '20090523-082450'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66801',
internalId:  '',
customField: '20080731-185942'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '112601',
internalId:  '',
customField: '20100101-124210'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72901',
internalId:  '',
customField: '20090523-084741'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '113501',
internalId:  '',
customField: '20100101-130751'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102101',
internalId:  '',
customField: '20090523-123409'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '110001',
internalId:  '',
customField: '20090614-203039'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78801',
internalId:  '',
customField: '20080828-210950'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '99006',
internalId:  '99006aam010inl3m1',
customField: 'action=form&icq=false'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '80401',
internalId:  '',
customField: '20090523-083517'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '96601',
internalId:  '',
customField: '20100101-123943'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99801',
internalId:  '',
customField: '20090614-204141'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '86001',
internalId:  '',
customField: '20090523-083426'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '99001',
internalId:  '99006aam010inl3m1',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99006',
internalId:  '',
customField: '20090205-135133'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99001',
internalId:  '',
customField: '20090205-135133'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101601',
internalId:  '',
customField: '20090522-180749'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INL3M1';
var companyName   = 'Of+Come+Rain+or+Shine+';
var htmlTitle	  = 'la+passion+du+golden';
var metaKeywords  = 'golden%2C+golden+retriever%2C+chiot+golden+retriever%2C+eleveur+golden+retriever%2C+elevage+golden+retriever%2C+chiots+golden+retriever%2C+achat+chiot+golden%2C+annonce+chiot%2C+annonce+chiot+golden%2C+annonces+chiot+golden%2C+annonces+chiots%2C++cherche+chiot+golden%2C+chien+golden%2C+chien+golden+retriever%2C+chien+golden+retrievers%2C+chiens+golden+retriever%2C+chiot+golden%2C+chiot+golden+a+vendre%2C+chiot+golden+retreiver%2C+chiot+golden+retriver%2C+chiots+golden%2C+elevage+chien+golden%2C+elevage+golden+retrievers%2C+elevages+golden+retriever%2C+eleveur+golden%2C+eleveur+golden+retreiver%2C+eleveurs+golden%2C+golden+a+vendre%2C+golden+retiever%2C+golden+retreiver%2C+golden%2C+retriever%2C+golden+retrievers%2C+chien%2C+chiens%2C+chienne%2C+chiennes%2C+chiot%2C+chiots%2C+%C3%A9levage%2C+%C3%A9leveur%2C+vendre%2C+vente%2C+acheter%2C+achat%2C+herault%2C+portee%2C+education%2C+choix%2C+race%2C+lof';
var metaContents  = 'echangeons+sur+une+meme+passion+%3A+le+golden+retriever.+Quelques+elements+sur+le+choix+de+la+race%2C+l+education%2C+des+photos%2C+la+presentation+des+declarations+de+saillie+et+des+chiots+%C3%A0+reserver+%28chiots+nes+et+eleves+%C3%A0+la+maison%2C+sociabilises%2C+inscrits+au+lof%29.+une+seule+portee+prevue+par+an.+Un+seul+objectif%3A+le+plaisir+en+images+et+en+textes+';
					                                                                    
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 */					                                                            

