/* [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','4594',jdecode('Carolaur'),jdecode(''),'/4594/index.html','true',[ 
		['PAGE','36502',jdecode('CAROLAUR+%28volgende+pagina%29'),jdecode(''),'/4594/36502.html','false',[],'']
	],''],
	['PAGE','19555',jdecode('A+F+V+D'),jdecode(''),'/19555.html','true',[],''],
	['PAGE','40728',jdecode('T%C3%A9moignages'),jdecode(''),'/40728.html','true',[],''],
	['PAGE','40802',jdecode('La+Neurostimulation'),jdecode(''),'/40802.html','true',[],''],
	['PAGE','19582',jdecode('Agenda'),jdecode(''),'/19582.html','true',[],''],
	['PAGE','67301',jdecode('Les+Diff%C3%A9rentes+Douleurs'),jdecode(''),'/67301.html','true',[],''],
	['PAGE','58902',jdecode('Le+Marathon+des+Sables'),jdecode(''),'/58902.html','true',[],''],
	['PAGE','48428',jdecode('La+Patrouille+de+France+'),jdecode(''),'/48428.html','true',[],''],
	['PAGE','38201',jdecode('Handi+Ski'),jdecode(''),'/38201.html','true',[],''],
	['PAGE','55801',jdecode('Revue+de+Presse'),jdecode(''),'/55801.html','true',[],''],
	['PAGE','60701',jdecode('Ce+qui+%C3%A0+chang%C3%A9'),jdecode(''),'/60701.html','true',[],''],
	['PAGE','41101',jdecode('Les+Congr%C3%A8s'),jdecode(''),'/41101.html','true',[],''],
	['PAGE','20302',jdecode('Livre+d%26%23x27%3BOr'),jdecode(''),'/20302.html','true',[],''],
	['PAGE','20303',jdecode('Entr%C3%A9es'),jdecode(''),'/20303.html','true',[],''],
	['PAGE','40701',jdecode('Forum'),jdecode(''),'/40701.html','true',[],''],
	['PAGE','10573',jdecode('Contacts'),jdecode(''),'/10573.html','true',[],''],
	['PAGE','47702',jdecode('Acc%C3%A8s'),jdecode(''),'/47702.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Herzchen';
theSitetree.paletteFamily='F6DD62';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='17098';
theSitetree.graphicsetId='12485';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Herzchen',
				paletteFamily: 	'F6DD62',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'17098',
				graphicsetId: 	'12485',
				contentColor: 	'666666',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FF8C04',
				e_color: 		'F6DD62',
				f_color: 		'FFC47F',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1002']={
webappId:    '1002',
documentId:  '20302',
internalId:  '20302aam010in312c',
customField: 'action=form&icq=false'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4594',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '20303',
internalId:  '20302aam010in312c',
customField: 'action=list'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4594',
internalId:  'aam010in312c10e1e03886f',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '36502',
internalId:  'aam010in312c10e1e03886f',
customField: 'followUp'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '40802',
internalId:  '111cc9cc24b',
customField: 'g.12lfffj40.3n7k2iqm4p0o.6rn80'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '47702',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '19555',
internalId:  '1123cce7c88.5a1c8a89',
customField: 'fr:FR:'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '48428',
internalId:  '1127158d8fc',
customField: 'g.12lfffj50.88oh73gq345k.6rn80'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4594',
internalId:  '9723309',
customField: '1501'
};
webappMappings['1003']={
webappId:    '1003',
documentId:  '40701',
internalId:  'aam010in312c111cc968f6e',
customField: 'fr:FR:'
};
webappMappings['1003']={
webappId:    '1003',
documentId:  '10573',
internalId:  'aam010in312c111cc968f6e',
customField: 'fr:FR:'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '58902',
internalId:  '114690184ba',
customField: 'g.12lfffj56.11ct6ig166sb4.6rn80'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4594',
internalId:  '',
customField: '20091101-183912'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19555',
internalId:  '',
customField: '20091101-182535'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '60701',
internalId:  '',
customField: '20071007-103836'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36502',
internalId:  '',
customField: '20061006-162518'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40728',
internalId:  '',
customField: '20080825-093809'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40802',
internalId:  '',
customField: '20080128-103425'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19582',
internalId:  '',
customField: '20080128-103249'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '58902',
internalId:  '',
customField: '20080615-152725'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48428',
internalId:  '',
customField: '20070716-104850'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38201',
internalId:  '',
customField: '20070317-115617'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '55801',
internalId:  '',
customField: '20091101-182224'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20302',
internalId:  '',
customField: '20050721-200445'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20303',
internalId:  '',
customField: '20050721-200445'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40701',
internalId:  '',
customField: '20070616-142233'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41101',
internalId:  '',
customField: '20091101-183415'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10573',
internalId:  '',
customField: '20080616-092850'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47702',
internalId:  '',
customField: '20070429-115219'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '67301',
internalId:  '67301',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '67301',
internalId:  '',
customField: '20071028-161103'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '19582',
internalId:  '10938910',
customField: 'fr:FR:'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN312C';
var companyName   = 'La+Neurostimulation+M%C3%A9dullaire+et+moi';
var htmlTitle	  = 'LA+NEUROSTIMULATION';
var metaKeywords  = 'stimulateur+%C3%A9lectrique%2C+combatmartine%2C+carolaur%2C+douleurs%2C+chirurgie%2C+clinique%2C++sant%C3%A9%2C+m%C3%A9decins%2C+Velpeau%2C+CHU+POITIERS%2C++Fauteuil+roulant%2C+handicap%2C+don%2C+stimulareur%2C+%C3%A9pidurale%2C+Philippe+RIGOARD%2C+Laurent+VINIKOFF%2C+Laurent+HERAULT%2C+Fran%C3%A7oise+LAPIERRE%2C+douleurs+chroniques%2C+douleurs+neuropathiques%2C+paresth%C3%A9sies%2C+dos%2C+jambes%2C+bras%2C+mal+au+dos%2C+douleur%2C+clinique+de+lAlliance%2C++douleurs+chroniques%2C+douleurs+neuropathiques%2C+douleurs+neurologiques%2C+douleurs+lombaires%2C+Neurostimulation%2C+neurostimulateur%2C+adh%C3%A9rences%2C+adh%C3%A9rences+post-op%C3%A9ratoire%2C+douleurs%2C+DOULEUR%2C+';
var metaContents  = 'Informations+sant%C3%A9%2C+chirurgie%2C+stimulateur%2Cassociation%2C+ski%2C+combat%2C+douleur%2C+handicap%C3%A9%2C+neurostimulation%2C+%C3%A9lectrique%2CProbl%C3%A8mes+de+remboursements%2C+Laurent+VINIKOFF%2C+Philippe+RIGOARD%2C+Laurent+HERAULT%2C+Fran%C3%A7oise+LAPIERRE.+Douleurs%2C+Douleurs+violentes%2C+Adh%C3%A9rences%2C+Adh%C3%A9rences+post-op%C3%A9ratoire%2C+Douleurs+neuropathiques%2C+douleurs+chroniques%2C';
					                                                                    
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 */					                                                            
