/* [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','322',jdecode('LA+NEF+des+LIVRES'),jdecode(''),'/322.html','true',[],''],
	['PAGE','155544',jdecode('*+Nos+r%C3%A9f%C3%A9rencements'),jdecode(''),'/155544.html','true',[],''],
	['PAGE','352109',jdecode('*+Liste+alphab%C3%A9tique+des+livres'),jdecode(''),'/352109.html','true',[],''],
	['PAGE','262509',jdecode('*+Derniers+titres+acquis...'),jdecode(''),'/262509.html','true',[],''],
	['PAGE','122244',jdecode('HISTOIRE+DES+PLANTES'),jdecode(''),'/122244.html','true',[],''],
	['PAGE','136244',jdecode('*+Diversit%C3%A9+des+plantes'),jdecode(''),'/136244.html','true',[],''],
	['PAGE','136265',jdecode('*+Monographies+d%26%23x27%3Borchid%C3%A9es'),jdecode(''),'/136265.html','true',[],''],
	['PAGE','136286',jdecode('*+Atlas+des+flores+fran%C3%A7aises'),jdecode(''),'/136286.html','true',[],''],
	['PAGE','136307',jdecode('*+Guides'),jdecode(''),'/136307.html','true',[],''],
	['PAGE','136328',jdecode('*+Pas+%C3%A0+pas'),jdecode(''),'/136328.html','true',[],''],
	['PAGE','122391',jdecode('AVENTURES+DES+HOMMES'),jdecode(''),'/122391.html','true',[],''],
	['PAGE','136744',jdecode('*+Hommes+de+l%26%23x27%3Bart'),jdecode(''),'/136744.html','true',[],''],
	['PAGE','136765',jdecode('*+R%C3%A9cits+de+voyageurs'),jdecode(''),'/136765.html','true',[],''],
	['PAGE','370109',jdecode('LE+MONDE+DES+PLANTES'),jdecode(''),'/370109.html','true',[],''],
	['PAGE','354330',jdecode('*+Autour+des+plantes'),jdecode(''),'/354330.html','true',[],''],
	['PAGE','354351',jdecode('*+Autour+de+la+botanique'),jdecode(''),'/354351.html','true',[],''],
	['PAGE','155244',jdecode('*+De+l%26%23x27%3Busage+des+plantes'),jdecode(''),'/155244.html','true',[],''],
	['PAGE','354309',jdecode('*+Dictionnaires+de+botanique'),jdecode(''),'/354309.html','true',[],''],
	['PAGE','372109',jdecode('*+Petits+atlas'),jdecode(''),'/372109.html','true',[],''],
	['PAGE','122517',jdecode('REPRODUCTION+OUVRAGES'),jdecode(''),'/122517.html','true',[],''],
	['PAGE','379909',jdecode('LIVRES+ANCIENS'),jdecode(''),'/379909.html','true',[],''],
	['PAGE','122580',jdecode('AUTRES+CONTINENTS'),jdecode(''),'/122580.html','true',[],''],
	['PAGE','136849',jdecode('*+L%26%23x27%3BAfrique'),jdecode(''),'/136849.html','true',[],''],
	['PAGE','136891',jdecode('*+Les+Mascareignes'),jdecode(''),'/136891.html','true',[],''],
	['PAGE','166255',jdecode('*+L%26%23x27%3BExtr%C3%AAme-Orient'),jdecode(''),'/166255.html','true',[],''],
	['PAGE','136912',jdecode('*+L%26%23x27%3BOc%C3%A9anie'),jdecode(''),'/136912.html','true',[],''],
	['PAGE','136870',jdecode('*+Les+Cara%C3%AFbes'),jdecode(''),'/136870.html','true',[],''],
	['PAGE','122601',jdecode('*+Les+Am%C3%A9riques'),jdecode(''),'/122601.html','true',[],''],
	['PAGE','256955',jdecode('*+Autres+pays'),jdecode(''),'/256955.html','true',[],''],
	['PAGE','122748',jdecode('BON+de+COMMANDE'),jdecode(''),'/122748.html','true',[],''],
	['PAGE','166555',jdecode('INFORMATIONS+DIVERSES'),jdecode(''),'/166555.html','true',[],''],
	['PAGE','208255',jdecode('***SITES+AMIS***'),jdecode(''),'/208255.html','true',[],'']];
var siteelementCount=32;
theSitetree.topTemplateName='Artless';
theSitetree.paletteFamily='4E8A5A';
theSitetree.keyvisualId='4539';
theSitetree.keyvisualName='kv_4539.jpg';
theSitetree.fontsetId='10823';
theSitetree.graphicsetId='11225';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='4E8A5A';
var theTemplate={
				name: 			'Artless',
				paletteFamily: 	'4E8A5A',
				keyvisualId: 	'4539',
				keyvisualName: 	'kv_4539.jpg',
				fontsetId: 		'10823',
				graphicsetId: 	'11225',
				contentColor: 	'FFFFFF',
				contentBGColor: '4E8A5A',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'264E2F',
				e_color: 		'264E2F',
				f_color: 		'264E2F',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '322',
internalId:  '',
customField: '20091221-154726'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136286',
internalId:  '',
customField: '20091221-160016'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136307',
internalId:  '',
customField: '20091221-160311'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122244',
internalId:  '',
customField: '20091211-003422'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136265',
internalId:  '',
customField: '20091221-155708'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122517',
internalId:  '',
customField: '20091221-162527'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122391',
internalId:  '',
customField: '20091210-233500'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '322',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '322',
internalId:  '1750960',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122580',
internalId:  '',
customField: '20091214-141420'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122601',
internalId:  '',
customField: '20091221-163513'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122748',
internalId:  '',
customField: '20091220-113640'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136244',
internalId:  '',
customField: '20091221-155521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136328',
internalId:  '',
customField: '20091221-160511'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '370109',
internalId:  '',
customField: '20091214-134304'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136744',
internalId:  '',
customField: '20091221-161131'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136765',
internalId:  '',
customField: '20091221-161311'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '354351',
internalId:  '',
customField: '20091223-105426'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '354309',
internalId:  '',
customField: '20091221-162359'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '354330',
internalId:  '',
customField: '20091221-161457'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136849',
internalId:  '',
customField: '20100301-195413'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136870',
internalId:  '',
customField: '20091220-181430'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136891',
internalId:  '',
customField: '20091217-195236'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136912',
internalId:  '',
customField: '20100301-194420'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '155544',
internalId:  '',
customField: '20091220-182334'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '155244',
internalId:  '',
customField: '20091221-162301'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '166255',
internalId:  '',
customField: '20091221-163235'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '166555',
internalId:  '',
customField: '20091221-163754'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '372109',
internalId:  '',
customField: '20091221-162445'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '208255',
internalId:  '',
customField: '20091220-184721'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '379909',
internalId:  '',
customField: '20091219-180324'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '262509',
internalId:  '',
customField: '20100310-134533'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '256955',
internalId:  '',
customField: '20091221-163555'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '352109',
internalId:  '',
customField: '20091219-181102'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLUK7';
var companyName   = 'Librairie+La+Nef+des+Livres';
var htmlTitle	  = 'Librairie+La+Nef+des+Livres';
var metaKeywords  = 'librairie%2C+livres%2C+nef+des+livres%2C+botanique%2C+ethnobotanique%2C+plantes%2C+palmiers%2C+fleurs%2C+jardins%2C+cam%C3%A9lias%2C+palmiers%2C+bougainvilliers%2C+graines%2C+parcs%2C+arboretum%2C+conservatoires%2C+connaissances%2C+pivoines%2C+fleurs+des+champs%2C+des+montagnes%2C+m%C3%A9dicinales+';
var metaContents  = 'librairie+sp%C3%A9cialis%C3%A9e+en+botanique%2C+ethnobotanique%2C+connaissance+des+arbres%2C+des+plantes%2C+des+jardins+et+des+fleurs';
					                                                                    
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 */					                                                            
