/* [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','1101',jdecode('P%C3%A9sentation+de+l%26%23x27%3BEFL'),jdecode(''),'/1101.html','true',[],''],
	['PAGE','1152',jdecode('Conseil+en+Image+Relooking'),jdecode(''),'/1152.html','true',[],''],
	['PAGE','1173',jdecode('Maquillage+Semi-Permanent'),jdecode(''),'/1173.html','true',[],''],
	['PAGE','1194',jdecode('Extensions+Capillaires'),jdecode(''),'/1194.html','true',[],''],
	['PAGE','1215',jdecode('Proth%C3%A8ses+Ongulaires'),jdecode(''),'/1215.html','true',[],''],
	['PAGE','1236',jdecode('Extensions+de+Cils'),jdecode(''),'/1236.html','true',[],''],
	['PAGE','1257',jdecode('Acc%C3%A8s+%26+H%C3%A9bergement'),jdecode(''),'/1257.html','true',[],'']];
var siteelementCount=7;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1736';
theSitetree.keyvisualName='beauty.jpg';
theSitetree.fontsetId='289';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var theTemplate={
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1736',
				keyvisualName: 	'beauty.jpg',
				fontsetId: 		'289',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'333F65',
				b_color: 		'040507',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1101',
internalId:  '',
customField: '20100106-195922'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1173',
internalId:  '',
customField: '20091019-110914'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1152',
internalId:  '',
customField: '20090227-142846'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1194',
internalId:  '',
customField: '20090227-131144'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1215',
internalId:  '',
customField: '20091121-132625'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1236',
internalId:  '',
customField: '20090903-161848'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1257',
internalId:  '',
customField: '20090204-204146'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1101',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLHLB';
var companyName   = 'L%27ECOLE+FRANCAISE+DU+LOOK';
var htmlTitle	  = 'ECOLE+FRANCAISE+DU+LOOK%2C+la+formation+pro+%C3%A0+prix+r%C3%A9duit';
var metaKeywords  = 'efl+ecole+francaise+look+formation+formations+beaute+relooking+conseil+image+extension+extensions+cheveux+cils+onglerie+ongle+maquillage+permanent+tatouage+relookage+cours+dermographie%2C+NSI';
var metaContents  = 'LECOLE+FRANCAISE+DU+LOOK.+Formation+%C3%A0+Prix+enfin+Abordable.++Relooking%2C+Conseil+en+Image+Professionnelle+et+personnelle%2C+Extensions+de+Cheveux++Cils%2C+Maquillage+permanent%2C+Proh%C3%A9sie+Ongulaire%2C+NSI+';
					                                                                    
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 */					                                                            
