/* [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','4598',jdecode('Accueil'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','41803',jdecode('Historique'),jdecode(''),'/41803.html','true',[],''],
	['PAGE','4655',jdecode('Pr%C3%A9sentation'),jdecode(''),'/4655.html','true',[],''],
	['PAGE','31603',jdecode('La+M%C3%A9nara'),jdecode(''),'/31603.html','true',[],''],
	['PAGE','31630',jdecode('Les+R%C3%A9pliques'),jdecode(''),'/31630.html','true',[],''],
	['PAGE','32603',jdecode('La+Restauration+Automobile'),jdecode(''),'/32603.html','true',[],''],
	['PAGE','31903',jdecode('L%26%23x27%3Bavis+d%26%23x27%3Bun+expert'),jdecode(''),'/31903.html','true',[],''],
	['PAGE','4682',jdecode('Activit%C3%A9s'),jdecode(''),'/4682.html','true',[],''],
	['PAGE','34103',jdecode('La+Concession'),jdecode(''),'/34103/index.html','true',[ 
		['PAGE','88101',jdecode('KIA+'),jdecode(''),'/34103/88101.html','true',[],''],
		['PAGE','88122',jdecode('FORLAND'),jdecode(''),'/34103/88122.html','true',[],''],
		['PAGE','88143',jdecode('FOTON+T.P'),jdecode(''),'/34103/88143.html','true',[],'']
	],''],
	['PAGE','31657',jdecode('Le+d%C3%A9partement+Comp%C3%A9tition'),jdecode(''),'/31657.html','true',[],''],
	['PAGE','41484',jdecode('KIA+RIO+CUP'),jdecode(''),'/41484/index.html','true',[ 
		['PAGE','128701',jdecode('LA+RIO+CUP+au+WTCC'),jdecode(''),'/41484/128701.html','true',[],''],
		['PAGE','98101',jdecode('Les+Pilotes+RIO+CUP'),jdecode(''),'/41484/98101.html','true',[],''],
		['PAGE','101301',jdecode('Circuit+de+RABAT'),jdecode(''),'/41484/101301.html','true',[],''],
		['PAGE','101322',jdecode('Circuit+de+SALE'),jdecode(''),'/41484/101322.html','true',[],''],
		['PAGE','101343',jdecode('Circuit+de+BOUSKOURA'),jdecode(''),'/41484/101343.html','true',[],''],
		['PAGE','118301',jdecode('Circuit+de+CASA+ANFA'),jdecode(''),'/41484/118301.html','true',[],''],
		['PAGE','118322',jdecode('Circuit+de+BENI+MELLAL'),jdecode(''),'/41484/118322.html','true',[],''],
		['PAGE','118343',jdecode('Circuit+de+TIT+MELLIL'),jdecode(''),'/41484/118343.html','true',[],''],
		['PAGE','126601',jdecode('Remise+des+Prix'),jdecode(''),'/41484/126601.html','true',[],''],
		['PAGE','124401',jdecode('Classement+G%C3%A9n%C3%A9ral+2008'),jdecode(''),'/41484/124401.html','true',[],''],
		['PAGE','110601',jdecode('Les+Sponsors'),jdecode(''),'/41484/110601.html','true',[],'']
	],''],
	['PAGE','41457',jdecode('Picanto+Trophy'),jdecode(''),'/41457.html','true',[],''],
	['PAGE','41403',jdecode('Troph%C3%A9e+Palio-M%C3%A9nara'),jdecode(''),'/41403.html','true',[],''],
	['PAGE','41430',jdecode('Formule+MAROC+ZAGORA'),jdecode(''),'/41430.html','true',[],''],
	['PAGE','45203',jdecode('Le+%22Rallye%22+FERRARI+MASERATI'),jdecode(''),'/45203.html','true',[],''],
	['PAGE','36203',jdecode('Et+plus+encore..'),jdecode(''),'/36203.html','true',[],''],
	['PAGE','33403',jdecode('Itin%C3%A9raire+d%26%23x27%3Bun+passionn%C3%A9'),jdecode(''),'/33403.html','true',[],''],
	['PAGE','35303',jdecode('De+P%C3%A8re+en+Fils'),jdecode(''),'/35303/index.html','true',[ 
		['PAGE','50190',jdecode('Photos'),jdecode(''),'/35303/50190.html','true',[],'']
	],''],
	['PAGE','29602',jdecode('Album+Photo'),jdecode(''),'/29602.html','true',[],''],
	['PAGE','4709',jdecode('Contact'),jdecode(''),'/4709.html','true',[],''],
	['PAGE','72703',jdecode('Revues+de+presse'),jdecode(''),'/72703.html','true',[],'']];
var siteelementCount=36;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='AC2323';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='289';
theSitetree.graphicsetId='356';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='AC2323';
var theTemplate={
				name: 			'Movement',
				paletteFamily: 	'AC2323',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'289',
				graphicsetId: 	'356',
				contentColor: 	'FFFFFF',
				contentBGColor: 'AC2323',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'AC2323',
				b_color: 		'480F0F',
				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:  '4598',
internalId:  '6337881',
customField: '1501'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '29602',
internalId:  '107c96ac0d8',
customField: 'g.12lfb30nl.1rb4mfuufa74f.6rn80'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20081015-212906'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '50190',
internalId:  '107d7ec4f66',
customField: 'Photos'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41803',
internalId:  '',
customField: '20090319-214100'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4655',
internalId:  '',
customField: '20080703-005205'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31603',
internalId:  '',
customField: '20081016-144151'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31630',
internalId:  '',
customField: '20081016-150345'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32603',
internalId:  '',
customField: '20051210-171457'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31903',
internalId:  '',
customField: '20051130-135048'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4682',
internalId:  '',
customField: '20081016-232537'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34103',
internalId:  '',
customField: '20081016-171321'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31657',
internalId:  '',
customField: '20090320-115922'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41403',
internalId:  '',
customField: '20060125-234220'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41430',
internalId:  '',
customField: '20081016-233604'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41457',
internalId:  '',
customField: '20051209-133326'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41484',
internalId:  '',
customField: '20090416-165514'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45203',
internalId:  '',
customField: '20051206-202812'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36203',
internalId:  '',
customField: '20080703-005845'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '33403',
internalId:  '',
customField: '20081015-195818'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35303',
internalId:  '',
customField: '20090331-170110'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50190',
internalId:  '',
customField: '20051128-183728'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29602',
internalId:  '',
customField: '20051128-184122'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4709',
internalId:  '',
customField: '20090319-230244'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72703',
internalId:  '',
customField: '20051230-170606'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '88122',
internalId:  '',
customField: '20080705-153052'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '88101',
internalId:  '',
customField: '20081016-171159'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '88143',
internalId:  '',
customField: '20080705-154016'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '118301',
internalId:  '',
customField: '20081209-190852'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101301',
internalId:  '',
customField: '20081209-190342'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98101',
internalId:  '',
customField: '20090404-144316'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101322',
internalId:  '',
customField: '20081016-174159'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101343',
internalId:  '',
customField: '20081209-184759'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '110601',
internalId:  '',
customField: '20090326-141505'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '118322',
internalId:  '',
customField: '20081209-190157'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '118343',
internalId:  '',
customField: '20081209-190504'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '124401',
internalId:  '',
customField: '20090319-221247'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '126601',
internalId:  '',
customField: '20090319-224345'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '128701',
internalId:  '',
customField: '20090320-000237'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3T34';
var companyName   = 'Automobiles+M%C3%A9nara+Maroc';
var htmlTitle	  = 'www.automobiles-menara.com';
var metaKeywords  = 'restauration+automobile.+restauration+vehicules+collection.+fabrication+repliques+automobiles.++automobiles+menara.+automobiles+Menara.+MENARA.+LA+MENARA.+la+voiture+marocaine.+la+menara.+maroc.+MAROC.+trophee+palio.+renault.+nissan+.+dacia.+logan.+zagora.+picanto+trophy.+logan+Cup.++Guzzo.++Maroc.+Prototype.+marco+guzzo.gilbert+guzzo.AUTOMOBILES+MENARA.CANAM.+KIA+MOTORS+MAROC+-+KIA+RIO+CUP+-+Rio+Cup+-+Automobiles+Menara+comp%C3%A9tition+-+';
var metaContents  = 'Fabrication+automobile.LA+MENARA.+AUTOMOBILES+MENARA.restauration+de+vehicules+de+collection.Fabrication+de+caravanes.+camping-cars.+bateaux.+bungalows+de+chantiers.remorques+bagages-motos-voitures+etc...Transformation.+Modification+de+vehicules+tous+types+%28+ambulance+-guichet+banque+mobile+-+transport+de+personnel-+car-+mini+bus%2C+etc...%29Fabrication+de+maneges+pour+parc+dattraction.Tous+travaux+en+matiere+composite+%28+polyester+%29%2C+embarcations%2C+cabines%2C+pedalos...Carrosserie+automobile+-+peinture.+Reparation+mecanique.+Reparation+automobile.Concessionnaire+Nissan.+Concessionnaire+Renault.+Concessionnaire+Dacia.Antenne+Ferrari+-+Maserati+au+MAROC.+Concepteur+de+vehicules+speciaux.Premier+fabricant+de+voiture+au+Maroc.+Organisateur+de+circuits+automobiles+de+vitesse+au+Maroc.+Concepteur+et+organisateur+de+la+formule+Maroc+du+Trophee+Fiat+Palio.+CANAM.+Concessionnaire+KIA+MOTORS+MAROC+-+KIA+RIO+CUP+-+automobiles+menara+comp%C3%A9tition+-+Rio+Cup';
					                                                                    
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 */					                                                            
