/* [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','13863',jdecode('Le+r%C3%A9seau+CAVALCAD'),jdecode(''),'/13863.html','true',[],''],
	['PAGE','45804',jdecode('COURSIERS+PARIS'),jdecode(''),'/45804.html','true',[],''],
	['PAGE','45831',jdecode('TAXI+MOTO+'),jdecode(''),'/45831.html','true',[],''],
	['PAGE','152304',jdecode('VOITURE+EN+DIRECT'),jdecode(''),'/152304.html','true',[],''],
	['PAGE','45858',jdecode('COLIS+ACCOMPAGNE'),jdecode(''),'/45858.html','true',[],''],
	['PAGE','169804',jdecode('PROTHESISTES'),jdecode(''),'/169804.html','true',[],''],
	['PAGE','13998',jdecode('RENSEIGNEMENTS'),jdecode(''),'/13998/index.html','true',[ 
		['PAGE','19802',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/13998/19802.html','false',[],'']
	],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Neon';
theSitetree.paletteFamily='FF6600';
theSitetree.keyvisualId='909';
theSitetree.keyvisualName='laeufer.jpg';
theSitetree.fontsetId='161';
theSitetree.graphicsetId='194';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Neon',
				paletteFamily: 	'FF6600',
				keyvisualId: 	'909',
				keyvisualName: 	'laeufer.jpg',
				fontsetId: 		'161',
				graphicsetId: 	'194',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'6699CC',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45858',
internalId:  '',
customField: '20100216-133554'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13998',
internalId:  '',
customField: '20100216-133657'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45804',
internalId:  '',
customField: '20100617-134056'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13863',
internalId:  '',
customField: '20100401-102240'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '13998',
internalId:  'aam010in3fef1109199361b',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '19802',
internalId:  'aam010in3fef1109199361b',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '13863',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19802',
internalId:  '',
customField: '20070205-121042'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45831',
internalId:  '',
customField: '20100331-123642'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '152304',
internalId:  '',
customField: '20100331-123754'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '13863',
internalId:  '12584109',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '169804',
internalId:  '',
customField: '20100331-131251'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3FEF';
var companyName   = 'RESEAU+DE+COURSIERS+INDEPENDANTS';
var htmlTitle	  = 'Courses+en+direct+et+accompagnement+de+documents+et+colis';
var metaKeywords  = 'CAVALCADE+%2C+Cavalcades+et+Courses+et+Livraisons+Transport+de+document+Salons+et+congr%EF%BF%BDs+mode+et+shoping+transport+de+personne+convoyage+services+aux+entreprises+transport+rapide+remise+en+main+propre+assistance+technique+mise+%EF%BF%BD+disposition+stockage+distribution+moto+motos+scooter+scooters+voiture+camionsParis+province+banlieue+D%C3%A9m%C3%A9nagement+Coursiers+ind%C3%A9pendants+confiance+Coursier+ind%C3%A9pendant+Courses+en+direct+Province+Region+Paris';
var metaContents  = 'Cavalcade+Courses+et+Livraisons+Transport+de+document+Salons+et+congr%EF%BF%BDs+mode+et+shoping+transport+de+personne+convoyage+services+aux+entreprises+transport+rapide+Cavalcades+remise+en+main+propre+assistance+technique+mise+%EF%BF%BD+disposition+stockage+distribution+motos+voiture+camion+Paris+banlieue+province+national+international+d%C3%A9m%C3%A9nagement+coursiers+ind%C3%A9pendants+Paris+confiance+Coursier+ind%C3%A9pendant+ind%C3%A9pendant';
					                                                                    
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 */					                                                            
