/* [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','501',jdecode('Bienvenue'),jdecode(''),'/501/index.html','true',[ 
		['PAGE','198723',jdecode('Actualit%C3%A9s'),jdecode(''),'/501/198723.html','true',[],''],
		['PAGE','180101',jdecode('Les+installations'),jdecode(''),'/501/180101.html','true',[],''],
		['PAGE','594',jdecode('Historique'),jdecode(''),'/501/594.html','true',[],''],
		['PAGE','200523',jdecode('60+ans+du+Club'),jdecode(''),'/501/200523.html','true',[],''],
		['PAGE','175101',jdecode('De+1947+%C3%A0+1967'),jdecode(''),'/501/175101.html','true',[],''],
		['PAGE','175122',jdecode('De+1968+%C3%A0+1987'),jdecode(''),'/501/175122.html','true',[],''],
		['PAGE','175143',jdecode('De+1988+%C3%A0+2008'),jdecode(''),'/501/175143.html','true',[],''],
		['PAGE','57201',jdecode('Hommage'),jdecode(''),'/501/57201.html','true',[],''],
		['PAGE','192712',jdecode('Tarifs'),jdecode(''),'/501/192712.html','true',[],''],
		['PAGE','42664',jdecode('Partenaires'),jdecode(''),'/501/42664.html','true',[],''],
		['PAGE','47901',jdecode('Acc%C3%A8s'),jdecode(''),'/501/47901.html','true',[],'']
	],''],
	['PAGE','573',jdecode('Judo+%2F+Ju-Jitsu'),jdecode(''),'/573/index.html','true',[ 
		['PAGE','49322',jdecode('Horaires+adultes'),jdecode(''),'/573/49322.html','true',[],''],
		['PAGE','49343',jdecode('Horaires+enfants'),jdecode(''),'/573/49343.html','true',[],''],
		['PAGE','49364',jdecode('Enseignants'),jdecode(''),'/573/49364.html','true',[],''],
		['PAGE','49385',jdecode('Calendrier'),jdecode(''),'/573/49385.html','true',[],''],
		['PAGE','61101',jdecode('R%C3%A9sultats'),jdecode(''),'/573/61101.html','true',[],'']
	],''],
	['PAGE','42601',jdecode('A%C3%AFkido'),jdecode(''),'/42601/index.html','true',[ 
		['PAGE','62301',jdecode('Horaires'),jdecode(''),'/42601/62301.html','true',[],''],
		['PAGE','62322',jdecode('Enseignants'),jdecode(''),'/42601/62322.html','true',[],''],
		['PAGE','197723',jdecode('Philippe+Gouttard'),jdecode(''),'/42601/197723.html','true',[],''],
		['PAGE','197744',jdecode('Luc+Mathevet'),jdecode(''),'/42601/197744.html','true',[],''],
		['PAGE','62343',jdecode('Stages'),jdecode(''),'/42601/62343.html','true',[],'']
	],''],
	['PAGE','42622',jdecode('Karat%C3%A9'),jdecode(''),'/42622/index.html','true',[ 
		['PAGE','127601',jdecode('Horaires'),jdecode(''),'/42622/127601.html','true',[],''],
		['PAGE','191612',jdecode('R%C3%A9sultats'),jdecode(''),'/42622/191612.html','true',[],'']
	],''],
	['PAGE','42643',jdecode('Yoga'),jdecode(''),'/42643/index.html','true',[ 
		['PAGE','128201',jdecode('Horaires'),jdecode(''),'/42643/128201.html','true',[],'']
	],''],
	['PAGE','42001',jdecode('Ta%C3%AF+Chi-Chuan'),jdecode(''),'/42001/index.html','true',[ 
		['PAGE','128222',jdecode('Horaires'),jdecode(''),'/42001/128222.html','true',[],'']
	],''],
	['PAGE','216723',jdecode('Ia%C3%AF-Do'),jdecode(''),'/216723/index.html','true',[ 
		['PAGE','216744',jdecode('Horaires'),jdecode(''),'/216723/216744.html','true',[],'']
	],''],
	['PAGE','552',jdecode('Calendriers'),jdecode(''),'/552.html','true',[],''],
	['PAGE','6306',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/6306/index.html','true',[ 
		['PAGE','6301',jdecode('Entr%C3%A9es'),jdecode(''),'/6306/6301.html','true',[],'']
	],'']];
var siteelementCount=36;
theSitetree.topTemplateName='Abstract';
theSitetree.paletteFamily='FFFFFF';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10552';
theSitetree.graphicsetId='10577';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Abstract',
				paletteFamily: 	'FFFFFF',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10552',
				graphicsetId: 	'10577',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20110925-002339'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '552',
internalId:  '',
customField: '20110901-224020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '573',
internalId:  '',
customField: '20110901-215524'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '594',
internalId:  '',
customField: '20071226-123304'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '6306',
internalId:  '6306aam010inlnyc',
customField: 'action=form&icq=false'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42001',
internalId:  '',
customField: '20080427-115355'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '6301',
internalId:  '6306aam010inlnyc',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6306',
internalId:  '',
customField: '20071018-100118'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6301',
internalId:  '',
customField: '20071018-100118'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '501',
internalId:  '866988',
customField: '1501'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '47901',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42601',
internalId:  '',
customField: '20071220-233626'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49322',
internalId:  '',
customField: '20110901-231757'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49343',
internalId:  '',
customField: '20110901-220625'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49364',
internalId:  '',
customField: '20100827-145409'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49385',
internalId:  '',
customField: '20100827-145902'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42664',
internalId:  '',
customField: '20090513-145200'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47901',
internalId:  '',
customField: '20071220-092102'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '57201',
internalId:  '',
customField: '20071220-182914'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62301',
internalId:  '',
customField: '20110901-222546'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61101',
internalId:  '',
customField: '20101118-115925'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62322',
internalId:  '',
customField: '20110901-222617'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62343',
internalId:  '',
customField: '20091215-214634'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42622',
internalId:  '',
customField: '20100827-151044'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42643',
internalId:  '',
customField: '20101118-120409'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '127601',
internalId:  '',
customField: '20110901-222806'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '128201',
internalId:  '',
customField: '20110901-223139'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '128222',
internalId:  '',
customField: '20110901-223603'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '175101',
internalId:  '',
customField: '20071226-132002'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '175122',
internalId:  '',
customField: '20071226-132026'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '175143',
internalId:  '',
customField: '20071226-131326'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180101',
internalId:  '',
customField: '20071226-124258'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '200523',
internalId:  '',
customField: '20110901-180536'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '191612',
internalId:  '',
customField: '20080617-165250'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '192712',
internalId:  '',
customField: '20110815-162411'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '197723',
internalId:  '',
customField: '20080917-215835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '197744',
internalId:  '',
customField: '20080917-220240'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '198723',
internalId:  '',
customField: '20110925-002805'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '216723',
internalId:  '',
customField: '20100827-161823'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '216744',
internalId:  '',
customField: '20110901-223709'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLNYC';
var companyName   = 'Judo+Club+de+la+Loire';
var htmlTitle	  = 'judoclub-delaloire.fr';
var metaKeywords  = 'JUDO+-+SELF+DEFENSE+-+KARAT%C3%89+-+YOGA+-+A%C3%8FKIDO+-+Tai+chi+Chuan+-+yoga+-+ju+jitsu+-+arts+martiaux+-+saint+etienne+-+loire+-+judo+club+de+la+loire+-+judo+club+-+stephanois+-+';
var metaContents  = 'Judo+Club+de+la+Loire.+Ce+site+contient++toutes+les+informations+utiles+pour+pratiquer+les+arts+martiaux%2C+le+judo%2C+la%C3%AFkido%2C+le+ta%C3%AFchi+chuan%2C+le+ju+jitsu%2C+le+self+d%C3%A9fence%2C+le+yoga%2C+le+karat%C3%A9...+dans+les+meilleurs+conditions.+il+contient+%C3%A9galement+du+texte%2C+des+photos%2C+des+horaires%2C+des+liens+autours+des+arts+martiaux+st%C3%A9phanois...';
					                                                                    
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 */					                                                            

