/* [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+REFERENCEMENTS'),jdecode(''),'/155544.html','true',[],''],
	['PAGE','390909',jdecode('LISTE+ALPHABETIQUE'),jdecode(''),'/390909.html','true',[],''],
	['PAGE','262509',jdecode('DERNIERS+TITRES+ACQUIS'),jdecode(''),'/262509.html','true',[],''],
	['PAGE','390309',jdecode('BOTANIQUE+d%26%23x27%3BICI...'),jdecode(''),'/390309.html','true',[],''],
	['PAGE','390330',jdecode('*+La+diversit%C3%A9+des+plantes'),jdecode(''),'/390330.html','true',[],''],
	['PAGE','390351',jdecode('*+Les+flores+et+atlas+de+flores'),jdecode(''),'/390351.html','true',[],''],
	['PAGE','390372',jdecode('*+Guides'),jdecode(''),'/390372.html','true',[],''],
	['PAGE','390393',jdecode('*+Autour+des+plantes'),jdecode(''),'/390393.html','true',[],''],
	['PAGE','390414',jdecode('*+Culture+bio-%C3%A9cologique'),jdecode(''),'/390414.html','true',[],''],
	['PAGE','390435',jdecode('*+Dictionnaires+de+botanique'),jdecode(''),'/390435.html','true',[],''],
	['PAGE','390456',jdecode('*+R%C3%A9flexions+et+pens%C3%A9es'),jdecode(''),'/390456.html','true',[],''],
	['PAGE','390477',jdecode('*+Ecrits+des+anciens'),jdecode(''),'/390477.html','true',[],''],
	['PAGE','390498',jdecode('*+R%C3%A9cits+de+voyageurs'),jdecode(''),'/390498.html','true',[],''],
	['PAGE','390519',jdecode('*+Terroir+et+art+des+jardins'),jdecode(''),'/390519.html','true',[],''],
	['PAGE','390540',jdecode('BOTANIQUE+d%26%23x27%3BAILLEURS...'),jdecode(''),'/390540.html','true',[],''],
	['PAGE','390930',jdecode('*+Antilles'),jdecode(''),'/390930.html','true',[],''],
	['PAGE','390951',jdecode('*+Am%C3%A9rique+du+Nord'),jdecode(''),'/390951.html','true',[],''],
	['PAGE','390972',jdecode('*+Am%C3%A9rique+du+Sud'),jdecode(''),'/390972.html','true',[],''],
	['PAGE','390993',jdecode('*+Afrique+du+Nord'),jdecode(''),'/390993.html','true',[],''],
	['PAGE','391014',jdecode('*+Afrique'),jdecode(''),'/391014.html','true',[],''],
	['PAGE','391035',jdecode('*+Afrique+du+Sud'),jdecode(''),'/391035.html','true',[],''],
	['PAGE','391056',jdecode('*+A+l%26%23x27%3Best+de+la+M%C3%A9diterran%C3%A9e'),jdecode(''),'/391056.html','true',[],''],
	['PAGE','391077',jdecode('*+Extr%C3%AAme-orient'),jdecode(''),'/391077.html','true',[],''],
	['PAGE','391098',jdecode('*+Australie+et+Pacifique'),jdecode(''),'/391098.html','true',[],''],
	['PAGE','391119',jdecode('*+Mascareignes'),jdecode(''),'/391119.html','true',[],''],
	['PAGE','391140',jdecode('*+Nouvelle-Z%C3%A9lande'),jdecode(''),'/391140.html','true',[],''],
	['PAGE','379909',jdecode('LIVRES+ANCIENS'),jdecode(''),'/379909.html','true',[],''],
	['PAGE','391161',jdecode('REPRODUCTION+OUVRAGES'),jdecode(''),'/391161.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: '20100527-200202'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '391098',
internalId:  '',
customField: '20100602-185837'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '391077',
internalId:  '',
customField: '20100602-185545'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390972',
internalId:  '',
customField: '20100601-230642'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390993',
internalId:  '',
customField: '20100601-231243'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '391014',
internalId:  '',
customField: '20100601-231839'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '391035',
internalId:  '',
customField: '20100601-232622'
};
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:  '390393',
internalId:  '',
customField: '20100601-193252'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390414',
internalId:  '',
customField: '20100601-194025'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122748',
internalId:  '',
customField: '20091220-113640'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '391119',
internalId:  '',
customField: '20100602-190206'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390456',
internalId:  '',
customField: '20100601-202034'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390477',
internalId:  '',
customField: '20100601-202452'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390498',
internalId:  '',
customField: '20100601-225233'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390519',
internalId:  '',
customField: '20100601-224221'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390540',
internalId:  '',
customField: '20100531-094347'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390930',
internalId:  '',
customField: '20100601-225628'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390951',
internalId:  '',
customField: '20100601-230126'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390435',
internalId:  '',
customField: '20100601-200409'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390330',
internalId:  '',
customField: '20100606-143341'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '155544',
internalId:  '',
customField: '20100525-153203'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390351',
internalId:  '',
customField: '20100530-170539'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390372',
internalId:  '',
customField: '20100606-114802'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '166555',
internalId:  '',
customField: '20091221-163754'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '391056',
internalId:  '',
customField: '20100601-234100'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '208255',
internalId:  '',
customField: '20100317-000254'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '379909',
internalId:  '',
customField: '20091219-180324'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390309',
internalId:  '',
customField: '20100529-153324'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '262509',
internalId:  '',
customField: '20100530-170125'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '390909',
internalId:  '',
customField: '20100528-144536'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '391140',
internalId:  '',
customField: '20100602-190807'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '391161',
internalId:  '',
customField: '20100602-191952'
};
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 */					                                                            
