/* [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','301',jdecode('Home'),jdecode(''),'/301.html','true',[],''],
	['PAGE','1901',jdecode('Notre+%C3%A9quipe'),jdecode(''),'/1901.html','true',[],''],
	['PAGE','12701',jdecode('Prix+et+services'),jdecode(''),'/12701/index.html','true',[ 
		['PAGE','16301',jdecode('plateau+moto'),jdecode(''),'/12701/16301.html','true',[],''],
		['PAGE','14201',jdecode('Horaires'),jdecode(''),'/12701/14201.html','true',[],''],
		['PAGE','14222',jdecode('Documents+%C3%A0+fournir'),jdecode(''),'/12701/14222.html','true',[],'']
	],''],
	['PAGE','12722',jdecode('Promotions'),jdecode(''),'/12722.html','true',[],''],
	['PAGE','36701',jdecode('Stage+permis+%C3%A0+points'),jdecode(''),'/36701/index.html','true',[ 
		['PAGE','36722',jdecode('Objectif'),jdecode(''),'/36701/36722.html','true',[],''],
		['PAGE','36743',jdecode('Pi%C3%A8ces+%C3%A0+fournir'),jdecode(''),'/36701/36743.html','true',[],''],
		['PAGE','36764',jdecode('Permis+probatoire'),jdecode(''),'/36701/36764.html','true',[],''],
		['PAGE','36785',jdecode('S%26%23x27%3Binscrire'),jdecode(''),'/36701/36785.html','true',[],'']
	],''],
	['PAGE','12106',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/12106/index.html','true',[ 
		['PAGE','12101',jdecode('Entr%C3%A9es'),jdecode(''),'/12106/12101.html','true',[],'']
	],''],
	['PAGE','14901',jdecode('album+photos+auto+moto'),jdecode(''),'/14901.html','true',[],''],
	['PAGE','15501',jdecode('Contact+et+plan+d%26%23x27%3Bacc%C3%A8s'),jdecode(''),'/15501.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Kreis';
theSitetree.paletteFamily='D24C59';
theSitetree.keyvisualId='583';
theSitetree.keyvisualName='autohaendler.jpg';
theSitetree.fontsetId='125';
theSitetree.graphicsetId='143';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Kreis',
				paletteFamily: 	'D24C59',
				keyvisualId: 	'583',
				keyvisualName: 	'autohaendler.jpg',
				fontsetId: 		'125',
				graphicsetId: 	'143',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'D24C59',
				b_color: 		'F877A1',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '301',
internalId:  '',
customField: '20100625-083827'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1901',
internalId:  '',
customField: '20100726-153028'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '301',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '12106',
internalId:  '12106aam010inlsa3',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '12101',
internalId:  '12106aam010inlsa3',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12106',
internalId:  '',
customField: '20080512-132415'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12101',
internalId:  '',
customField: '20080512-132415'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36701',
internalId:  '',
customField: '20100515-182115'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '15501',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12701',
internalId:  '',
customField: '20100727-150400'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12722',
internalId:  '',
customField: '20080512-135032'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '301',
internalId:  '2747793',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14201',
internalId:  '',
customField: '20100726-171956'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14222',
internalId:  '',
customField: '20080512-152152'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '14901',
internalId:  '119dd653a3d',
customField: 'g.137ela5hk.9ab6b57i1k.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14901',
internalId:  '',
customField: '20080513-135346'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36722',
internalId:  '',
customField: '20100515-182739'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20081229-112648'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15501',
internalId:  '',
customField: '20100511-084622'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36764',
internalId:  '',
customField: '20080724-210104'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36785',
internalId:  '',
customField: '20080724-182300'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36743',
internalId:  '',
customField: '20100516-181702'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLSA3';
var companyName   = 'AUTO+MOTO+ECOLE+EFRCACHAN';
var htmlTitle	  = 'Auto-moto+Ecole+EFRCACHAN%2FEFRLHAY';
var metaKeywords  = 'auto+ecole+cachan+moto+ens++cachan++iut+de+cachan+estp%2C+r%C3%A9cup%C3%A9ration+de+points+stage+permis+%C3%A0+points';
var metaContents  = 'permis+de+conduire+code++formation+moto++stage+de+r%C3%A9cup%C3%A9ration+de+points';
					                                                                    
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 */					                                                            
