/* [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','35301',jdecode('Bienvenue+%2FWelcome'),jdecode(''),'/35301/index.html','true',[ 
		['PAGE','37301',jdecode('La+version+francaise'),jdecode(''),'/35301/37301.html','true',[],'']
	],''],
	['PAGE','44101',jdecode('Planning+2010%2F11'),jdecode(''),'/44101/index.html','true',[ 
		['PAGE','44601',jdecode('Timetable+2010%2F11'),jdecode(''),'/44101/44601.html','true',[],'']
	],''],
	['PAGE','901',jdecode('Vie+Fitness'),jdecode(''),'/901.html','true',[],''],
	['PAGE','48701',jdecode('Pilates'),jdecode(''),'/48701/index.html','true',[ 
		['PAGE','48722',jdecode('La+version+francaise'),jdecode(''),'/48701/48722.html','true',[],'']
	],''],
	['PAGE','952',jdecode('Aerobic'),jdecode(''),'/952/index.html','true',[ 
		['PAGE','21901',jdecode('English+version'),jdecode(''),'/952/21901.html','true',[],'']
	],''],
	['PAGE','973',jdecode('Circuit+Training'),jdecode(''),'/973.html','true',[],''],
	['PAGE','994',jdecode('Gym+et+Danse'),jdecode(''),'/994.html','true',[],''],
	['PAGE','1015',jdecode('Arts+Martiaux'),jdecode(''),'/1015.html','true',[],''],
	['PAGE','13543',jdecode('Personal+Training'),jdecode(''),'/13543/index.html','true',[ 
		['PAGE','12201',jdecode('English+version'),jdecode(''),'/13543/12201.html','true',[],'']
	],''],
	['PAGE','13501',jdecode('Professeurs'),jdecode(''),'/13501/index.html','true',[ 
		['PAGE','5501',jdecode('Instructors'),jdecode(''),'/13501/5501.html','true',[],''],
		['PAGE','20301',jdecode('REPs'),jdecode(''),'/13501/20301.html','true',[],'']
	],''],
	['PAGE','1036',jdecode('Contactez-nous'),jdecode(''),'/1036.html','true',[],''],
	['PAGE','14301',jdecode('Fitness+Articles'),jdecode(''),'/14301/index.html','true',[ 
		['PAGE','14322',jdecode('Go+on%2C+be+idle%21'),jdecode(''),'/14301/14322.html','true',[],''],
		['PAGE','15301',jdecode('Why+train+with+weights%3F'),jdecode(''),'/14301/15301.html','true',[],'']
	],''],
	['PAGE','25801',jdecode('Articles+de+Fitness'),jdecode(''),'/25801.html','true',[],'']];
var siteelementCount=22;
theSitetree.topTemplateName='Round';
theSitetree.paletteFamily='339966';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='444';
theSitetree.graphicsetId='491';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='72c6a1';
var theTemplate={
				name: 			'Round',
				paletteFamily: 	'339966',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'444',
				graphicsetId: 	'491',
				contentColor: 	'FFFFFF',
				contentBGColor: '72c6a1',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'72c6a1',
				b_color: 		'339966',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '901',
internalId:  '',
customField: '20090710-125646'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '952',
internalId:  '',
customField: '20100821-205501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5501',
internalId:  '',
customField: '20100821-211612'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '973',
internalId:  '',
customField: '20100821-205847'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '994',
internalId:  '',
customField: '20100821-210921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1015',
internalId:  '',
customField: '20100821-211220'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1036',
internalId:  '',
customField: '20091129-221824'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '1036',
internalId:  '5360733',
customField: 'en:GB:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12201',
internalId:  '',
customField: '20100821-211407'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13501',
internalId:  '',
customField: '20100821-211530'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14301',
internalId:  '',
customField: '20090604-230412'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14322',
internalId:  '',
customField: '20090617-122249'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15301',
internalId:  '',
customField: '20090604-231619'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20301',
internalId:  '',
customField: '20090604-222440'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21901',
internalId:  '',
customField: '20100821-205726'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13543',
internalId:  '',
customField: '20100821-211331'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25801',
internalId:  '',
customField: '20090605-081326'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37301',
internalId:  '',
customField: '20100821-203801'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35301',
internalId:  '',
customField: '20100821-201335'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44101',
internalId:  '',
customField: '20100821-204332'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44601',
internalId:  '',
customField: '20100821-204846'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48701',
internalId:  '',
customField: '20100821-205528'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48722',
internalId:  '',
customField: '20100821-205608'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZ4QJ';
var companyName   = 'Vie+Fitness';
var htmlTitle	  = 'Vie+Fitness';
var metaKeywords  = 'Fitness%2C+aerobics%2C+weight+training%2C+personal+trainer%2C+fitness+instructor%2C+lose+weight%2C+exercise+in+France%2C+personal+training+in+Franc%2C+get+fit+in+France%2C+get+fit%2C+meet+friends%2C+exercise%2C+enjoyable+exercise%2C+';
var metaContents  = 'Aerobics+classes+in+Languedoc+Roussillon++Aerobics+classes++Personal+Training++Personal+Trainer';
					                                                                    
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 */					                                                            
