/* [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','4559',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/4559.html','true',[],''],
	['PAGE','9103',jdecode('Les+tarifs'),jdecode(''),'/9103/index.html','true',[ 
		['PAGE','9130',jdecode('Permis+Auto+Paris'),jdecode(''),'/9103/9130.html','true',[],''],
		['PAGE','9157',jdecode('Permis+Automatique+Paris'),jdecode(''),'/9103/9157.html','true',[],''],
		['PAGE','9184',jdecode('AAC+Paris+%28d%C3%A8s+16+ans%29+'),jdecode(''),'/9103/9184.html','true',[],''],
		['PAGE','9265',jdecode('Permis+Moto+Paris+'),jdecode(''),'/9103/9265.html','true',[],''],
		['PAGE','59703',jdecode('BSR+Paris+%282+et+4+roues%29'),jdecode(''),'/9103/59703.html','true',[],''],
		['PAGE','9211',jdecode('Permis+Remorque+Paris+'),jdecode(''),'/9103/9211.html','true',[],''],
		['PAGE','9319',jdecode('Autres+cat%C3%A9gories+'),jdecode(''),'/9103/9319.html','true',[],'']
	],''],
	['PAGE','239701',jdecode('Stage+CODE+Acc%C3%A9l%C3%A9r%C3%A9+Paris'),jdecode(''),'/239701/index.html','true',[ 
		['PAGE','239722',jdecode('Dates+des+stages'),jdecode(''),'/239701/239722.html','true',[],'']
	],''],
	['PAGE','190103',jdecode('Cours+de+code+sur+internet'),jdecode(''),'/190103.html','true',[],''],
	['PAGE','9346',jdecode('Les+horaires+'),jdecode(''),'/9346/index.html','true',[ 
		['PAGE','141463',jdecode('Jours+de+fermeture+'),jdecode(''),'/9346/141463.html','true',[],'']
	],''],
	['PAGE','9454',jdecode('Les+documents+'),jdecode(''),'/9454.html','true',[],''],
	['PAGE','9022',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/9022.html','true',[],''],
	['PAGE','9076',jdecode('Nos+simulateurs'),jdecode(''),'/9076.html','true',[],''],
	['PAGE','9481',jdecode('Actualit%C3%A9s'),jdecode(''),'/9481.html','true',[],''],
	['PAGE','156403',jdecode('Questions-R%C3%A9ponses'),jdecode(''),'/156403.html','true',[],''],
	['PAGE','9508',jdecode('Contact'),jdecode(''),'/9508/index.html','true',[ 
		['PAGE','11245',jdecode('Contact+%28Folgeseite%29'),jdecode(''),'/9508/11245.html','false',[],'']
	],''],
	['PAGE','58602',jdecode('Acc%C3%A8s'),jdecode(''),'/58602.html','true',[],''],
	['PAGE','233601',jdecode('R%C3%A9cupr%C3%A9ration+de+points+Paris'),jdecode(''),'/233601.html','true',[],''],
	['PAGE','37911',jdecode('Nos+partenaires'),jdecode(''),'/37911.html','true',[],''],
	['PAGE','260901',jdecode('Offres+sp%C3%A9ciales'),jdecode(''),'/260901.html','true',[],'']];
var siteelementCount=25;
theSitetree.topTemplateName='Collage';
theSitetree.paletteFamily='F9C116';
theSitetree.keyvisualId='2469';
theSitetree.keyvisualName='verkehr.jpg';
theSitetree.fontsetId='406';
theSitetree.graphicsetId='459';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Collage',
				paletteFamily: 	'F9C116',
				keyvisualId: 	'2469',
				keyvisualName: 	'verkehr.jpg',
				fontsetId: 		'406',
				graphicsetId: 	'459',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'F9C116',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4559',
internalId:  '1047736',
customField: '1501'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '9508',
internalId:  'aam010in2gxyfba81bef43',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '11245',
internalId:  'aam010in2gxyfba81bef43',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4559',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '58602',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4559',
internalId:  '',
customField: '20120107-100826'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9022',
internalId:  '',
customField: '20110228-111745'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '190103',
internalId:  '',
customField: '20101218-143249'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9103',
internalId:  '',
customField: '20120107-100850'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9130',
internalId:  '',
customField: '20110829-105832'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9157',
internalId:  '',
customField: '20120111-215441'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9184',
internalId:  '',
customField: '20101106-174332'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9211',
internalId:  '',
customField: '20101106-174439'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '239722',
internalId:  '',
customField: '20120107-102107'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59703',
internalId:  '',
customField: '20120107-100616'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9265',
internalId:  '',
customField: '20120107-100639'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '239701',
internalId:  '',
customField: '20110831-103647'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9319',
internalId:  '',
customField: '20110204-193358'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9346',
internalId:  '',
customField: '20111124-161538'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '141463',
internalId:  '',
customField: '20111124-161635'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9454',
internalId:  '',
customField: '20110830-122702'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9076',
internalId:  '',
customField: '20060204-152826'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9481',
internalId:  '',
customField: '20101218-143647'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '156403',
internalId:  '',
customField: '20100101-203222'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9508',
internalId:  '',
customField: '20110228-111701'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11245',
internalId:  '',
customField: '20040402-000634'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '233601',
internalId:  '',
customField: '20110513-125611'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37911',
internalId:  '',
customField: '20110513-124753'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '58602',
internalId:  '',
customField: '20101218-142106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '260901',
internalId:  '',
customField: '20111223-193042'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2GXY';
var companyName   = 'Auto-%C3%A9cole+SOULT%2C+le+choix+gagnant+%21%21%21';
var htmlTitle	  = 'auto-%C3%A9cole+soult';
var metaKeywords  = 'code+rapide%2C+stage+code+accelere%2C+permis+auto%2C+code+annulation%2C+stage+code%2C+permi%2C+auto+ecol%2C+PERMIS+B%2C+PERMIS+A%2C+formation+125%2C+7+heures+125%2C+scooter%2C+scoter%2C+mp3%2C+scouter%2C+permis+bsr%2C+permis+moto%2C+paris%2C+permis+b%2C+permis+A%2C+code+avec+moniteur%2C+permis+rapide%2C+permis+pas+cher%2C+permis+de+conduire%2C+auto+ecole%2C+bsr+paris%2C+moto+paris%2C+auto+paris%2C+remorque+paris%2C+bateau%2C+automatique%2C+permis+a+points%2C+stage%2C+code%2C+permis%2C+examen%2C+pratique%2C+formule%2C+tarifs%2C+plateau%2C+circulation%2C+route%2C+auto%2C+2+roues%2C+autoroute%2C+formation%2C+voiture%2C+voiture+automatique%2C+paris%2C+75012%2C+ecole+de+conduite%2C+soult%2C+centre+de+formation%2C+permis+auto+paris%2C+permis+moto+paris%2C+permis+automatique+paris%2C+permis+remorque+paris%2C+bsr+paris%2C+permis+paris%2C+gare+de+lyon%2C+bonne+reputation%2C+eleve%2C+stage%2C+code+accelere%2C+code+rapide%2C+voiture+ecole%2C+boite+automatique%2C+permis+automattique';
var metaContents  = 'soult%2C+stage+code+accelere%2C+permis+de+conduire%2C+auto+ecole%2C+bsr%2C+moto+paris%2C+auto+paris%2C+125%2C+paris%2C+75012%2C+ecole+de+conduite%2C+permis+auto%2C+permis+moto%2C+permis+automatique%2C+permis+remorque%2C+permi';
					                                                                    
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 */					                                                            

