/* [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','203630',jdecode('SOMMAIRE'),jdecode(''),'/203630.html','true',[],''],
	['PAGE','1430',jdecode('ACCUEIL'),jdecode(''),'/1430/index.html','true',[ 
		['PAGE','12619',jdecode('Avant%2FApr%C3%A8s'),jdecode(''),'/1430/12619.html','true',[],''],
		['PAGE','89319',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/1430/89319.html','true',[],''],
		['PAGE','173219',jdecode('Presse'),jdecode(''),'/1430/173219.html','true',[],''],
		['PAGE','101809',jdecode('Votre+book+photo'),jdecode(''),'/1430/101809.html','true',[],''],
		['PAGE','68481',jdecode('Acces'),jdecode(''),'/1430/68481.html','true',[],''],
		['PAGE','112119',jdecode('Nous+contacter'),jdecode(''),'/1430/112119.html','true',[],''],
		['PAGE','69768',jdecode('C.G.V'),jdecode(''),'/1430/69768.html','true',[],'']
	],''],
	['PAGE','1694',jdecode('RELOOKING'),jdecode(''),'/1694/index.html','true',[ 
		['PAGE','10719',jdecode('Relooking+%3F'),jdecode(''),'/1694/10719.html','true',[],''],
		['PAGE','10746',jdecode('Nos+M%C3%A9thodes'),jdecode(''),'/1694/10746.html','true',[],''],
		['PAGE','124519',jdecode('Relooking+%C3%A0+Domicile'),jdecode(''),'/1694/124519.html','true',[],'']
	],''],
	['PAGE','71052',jdecode('COIFFURE'),jdecode(''),'/71052.html','true',[],''],
	['PAGE','91419',jdecode('EXTENSIONS'),jdecode(''),'/91419/index.html','true',[ 
		['PAGE','133250',jdecode('Entretenir+extensions'),jdecode(''),'/91419/133250.html','true',[],'']
	],''],
	['PAGE','246830',jdecode('BO-TOXE+CAPILLAIRE'),jdecode(''),'/246830.html','true',[],''],
	['PAGE','96819',jdecode('LISSAGE+JAPONAIS'),jdecode(''),'/96819.html','true',[],''],
	['PAGE','221330',jdecode('LISSAGE+BRESILIEN'),jdecode(''),'/221330.html','true',[],''],
	['PAGE','255730',jdecode('BAR+A+SOURIRE'),jdecode(''),'/255730.html','true',[],''],
	['PAGE','263530',jdecode('ESTHETIQUE'),jdecode(''),'/263530.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Comic';
theSitetree.paletteFamily='76064D';
theSitetree.keyvisualId='9982';
theSitetree.keyvisualName='kv1.swf';
theSitetree.fontsetId='17762';
theSitetree.graphicsetId='13132';
theSitetree.contentColor='76064D';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Comic',
				paletteFamily: 	'76064D',
				keyvisualId: 	'9982',
				keyvisualName: 	'kv1.swf',
				fontsetId: 		'17762',
				graphicsetId: 	'13132',
				contentColor: 	'76064D',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '203630',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '68481',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1430',
internalId:  '',
customField: '20120131-091819'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '112119',
internalId:  '13232332',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '173219',
internalId:  '',
customField: '20111114-175302'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '96819',
internalId:  '',
customField: '20111114-221201'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '91419',
internalId:  '',
customField: '20111219-215144'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1694',
internalId:  '',
customField: '20120112-080141'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '203630',
internalId:  '6171069',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '112119',
internalId:  '',
customField: '20111114-180520'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10719',
internalId:  '',
customField: '20111114-195242'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10746',
internalId:  '',
customField: '20111114-195306'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '124519',
internalId:  '',
customField: '20111114-195330'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101809',
internalId:  '',
customField: '20111219-220041'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '71052',
internalId:  '',
customField: '20111222-113730'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '133250',
internalId:  '',
customField: '20111219-215656'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12619',
internalId:  '',
customField: '20111114-174504'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '89319',
internalId:  '',
customField: '20111114-175010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '68481',
internalId:  '',
customField: '20111114-180329'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '69768',
internalId:  '',
customField: '20111219-220340'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '221330',
internalId:  '',
customField: '20111124-121015'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '246830',
internalId:  '',
customField: '20111124-121120'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '203630',
internalId:  '',
customField: '20120116-213555'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '263530',
internalId:  '',
customField: '20120131-093820'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '255730',
internalId:  '',
customField: '20120126-192152'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2VDL';
var companyName   = 'MUSE-RELOOK+';
var htmlTitle	  = 'MUSE-RELOOK%3A+COIFFEUR+VISAGISTE%2C+RELOOKING%2C+EXTENSIONS%2C+LISSAGES+JAPONAIS+ET+BRESILIEN%2C+BAR+A+SOURIRE%2C+MAQUILLAGE+PERMANENT%2C+EXTENSIONS+CILS%2C+ONGLES+GEL';
var metaKeywords  = 'muse%2Crelook%2Crelooking%2Crouen%2Cparis%2Cextensions%2Ccheveux%2Ccils%2Cvisagisme%2Clissage%2Cjaponais%2Cbr%C3%A9silien%2Cmaquillage%2Cpermanent%2Cbar%2Csourire%2Congle%2Cblanchiment%2Cdent%2Cd%C3%A9frisage%2Cformation%2Cpigment%2Cdermographe%2Caiguille';
var metaContents  = 'MUSE-RELOOK%3A+COIFFEUR+VISAGISTE%2C+RELOOKING%2C+EXTENSIONS%2C+LISSAGES+JAPONAIS+ET+BR%C3%89SILIEN%2C+BAR+A+SOURIRE%2C+MAQUILLAGE+PERMANENT%2C+EXTENSIONS+CILS%2C+ONGLES+GEL+et+formation+para-esth%C3%A9tique.+';
					                                                                    
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 */					                                                            

