/* [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','4597',jdecode('ACCUEIL'),jdecode(''),'/4597.html','true',[],''],
	['PAGE','4654',jdecode('ACUPUNCTURE'),jdecode(''),'/4654/index.html','true',[ 
		['PAGE','36603',jdecode('ETES-VOUS+CONCERNE+%3F'),jdecode(''),'/4654/36603.html','true',[],''],
		['PAGE','14103',jdecode('LES+PRESTATIONS'),jdecode(''),'/4654/14103.html','true',[],'']
	],''],
	['PAGE','4681',jdecode('QI++GONG'),jdecode(''),'/4681/index.html','true',[ 
		['PAGE','14130',jdecode('LES+COURS'),jdecode(''),'/4681/14130.html','true',[],''],
		['PAGE','38303',jdecode('ETES-VOUS+CONCERNE+%3F'),jdecode(''),'/4681/38303.html','true',[],'']
	],''],
	['PAGE','4735',jdecode('LA+MAGNETOTHERAPIE'),jdecode(''),'/4735/index.html','true',[ 
		['PAGE','16703',jdecode('QUESTIONS+%2F+REPONSES'),jdecode(''),'/4735/16703.html','true',[],'']
	],''],
	['PAGE','17503',jdecode('BRACELETS+MAGNETIQUES'),jdecode(''),'/17503.html','true',[],''],
	['PAGE','15803',jdecode('BRACELETS+CUIVRE+AIMANTS'),jdecode(''),'/15803.html','true',[],''],
	['PAGE','277818',jdecode('BRACELETS+CUIVRE+MASSIF'),jdecode(''),'/277818.html','true',[],''],
	['PAGE','268018',jdecode('BRACELETS+HEMATITE+AIMANTEE'),jdecode(''),'/268018.html','true',[],''],
	['PAGE','265618',jdecode('COLLIERS+MAGNETIQUES'),jdecode(''),'/265618.html','true',[],''],
	['PAGE','61803',jdecode('PRODUITS+AVEC+AIMANTS'),jdecode(''),'/61803/index.html','true',[ 
		['PAGE','102703',jdecode('EAU+MAGNETIQUE'),jdecode(''),'/61803/102703.html','true',[],''],
		['PAGE','102730',jdecode('SOULAGER+LES+DOULEURS'),jdecode(''),'/61803/102730.html','true',[],''],
		['PAGE','102757',jdecode('POUR+LE+SOMMEIL'),jdecode(''),'/61803/102757.html','true',[],''],
		['PAGE','102784',jdecode('POUR+MASSER+STIMULER+'),jdecode(''),'/61803/102784.html','true',[],''],
		['PAGE','102811',jdecode('GALETS+MAGNETOTHERAPIE'),jdecode(''),'/61803/102811.html','true',[],''],
		['PAGE','102838',jdecode('POUR+LE+VISAGE'),jdecode(''),'/61803/102838.html','true',[],'']
	],''],
	['PAGE','14903',jdecode('POUR+COMMANDER'),jdecode(''),'/14903.html','true',[],''],
	['PAGE','14238',jdecode('NOUS+CONTACTER'),jdecode(''),'/14238/index.html','true',[ 
		['PAGE','15906',jdecode('NOUS+CONTACTER+%28Folgeseite%29'),jdecode(''),'/14238/15906.html','false',[],'']
	],''],
	['PAGE','19102',jdecode('PLAN+D%26%23x27%3BACCES'),jdecode(''),'/19102.html','true',[],''],
	['PAGE','40603',jdecode('LIENS+UTILES'),jdecode(''),'/40603.html','true',[],''],
	['PAGE','39803',jdecode('-'),jdecode(''),'/39803.html','true',[],'']];
var siteelementCount=27;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='B0CBD6';
theSitetree.keyvisualId='2054';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='383';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Stylus',
				paletteFamily: 	'B0CBD6',
				keyvisualId: 	'2054',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'383',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'B0CBD6',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']={
webappId:    '1001',
documentId:  '14238',
internalId:  'aam010in23a0fd4321df56',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '15906',
internalId:  'aam010in23a0fd4321df56',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4597',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '19102',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4597',
internalId:  '1569397',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4597',
internalId:  '',
customField: '20110621-121036'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14130',
internalId:  '',
customField: '20110912-164912'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '268018',
internalId:  '',
customField: '20111102-191452'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15803',
internalId:  '',
customField: '20111212-161756'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17503',
internalId:  '',
customField: '20111113-143830'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61803',
internalId:  '',
customField: '20110621-124134'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102703',
internalId:  '',
customField: '20110621-124203'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102757',
internalId:  '',
customField: '20110621-124452'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4654',
internalId:  '',
customField: '20100922-154020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36603',
internalId:  '',
customField: '20100922-154044'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14103',
internalId:  '',
customField: '20100922-154124'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4681',
internalId:  '',
customField: '20090902-122425'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38303',
internalId:  '',
customField: '20051213-204127'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4735',
internalId:  '',
customField: '20110222-164339'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16703',
internalId:  '',
customField: '20100330-171506'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102730',
internalId:  '',
customField: '20111012-170402'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102784',
internalId:  '',
customField: '20110621-124529'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102811',
internalId:  '',
customField: '20110621-124603'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102838',
internalId:  '',
customField: '20110621-124635'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '265618',
internalId:  '',
customField: '20111117-193449'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '277818',
internalId:  '',
customField: '20110912-174300'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14903',
internalId:  '',
customField: '20110222-185613'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14238',
internalId:  '',
customField: '20090817-161709'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15906',
internalId:  '',
customField: '20040620-193701'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19102',
internalId:  '',
customField: '20090906-194705'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40603',
internalId:  '',
customField: '20091204-104248'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '39803',
internalId:  '',
customField: '20090817-162008'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN23A0';
var companyName   = '';
var htmlTitle	  = 'Medecine+chinoise+Acupuncture+Magnetotherapie';
var metaKeywords  = 'medecine+chinoise%2Cqi+gong%2Cacupuncture%2Cmagnetotherapie%2Caimant%2Cbracelet%2Cmagnetique%2Ccuivre%2Cstress%2Cdouleur%2Cbijoux%2Cloire+atlantique%2Cguerande%2C44';
var metaContents  = 'Acupuncture+Qi+Gong++Magnetotherapie+Un+grand+choix+de+bracelets+et+bijoux+magnetiques+Aimants+neodyme+Literie+magnetique';
					                                                                    
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 */					                                                            

