/* [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('Accueil+du+site'),jdecode(''),'/301.html','true',[],''],
	['PAGE','2806',jdecode('Edmond+Kameni'),jdecode(''),'/2806.html','true',[],''],
	['PAGE','48801',jdecode('Je+soutiens+J%26%23x27%3BAIME+VELIZY'),jdecode(''),'/48801.html','true',[],''],
	['PAGE','11143',jdecode('Conseils+Municipaux'),jdecode(''),'/11143.html','true',[],''],
	['PAGE','9374',jdecode('V%C3%A9lizy+pratique'),jdecode(''),'/9374/index.html','true',[ 
		['PAGE','10006',jdecode('Num%C3%A9ros+utiles'),jdecode(''),'/9374/10006.html','true',[],''],
		['PAGE','9901',jdecode('D%C3%A9marches+administratives'),jdecode(''),'/9374/9901.html','true',[],''],
		['PAGE','9922',jdecode('Se+d%C3%A9placer'),jdecode(''),'/9374/9922.html','true',[],''],
		['PAGE','9943',jdecode('M%C3%A9t%C3%A9o+%C3%A0+V%C3%A9lizy'),jdecode(''),'/9374/9943.html','true',[],''],
		['PAGE','9964',jdecode('Actualit%C3%A9s+culturelles'),jdecode(''),'/9374/9964.html','true',[],''],
		['PAGE','9985',jdecode('Emplois+et+entreprises'),jdecode(''),'/9374/9985.html','true',[],''],
		['PAGE','15101',jdecode('Coll%C3%A8ges+et+%C3%A9coles'),jdecode(''),'/9374/15101.html','true',[],''],
		['PAGE','15122',jdecode('Professionnels+de+sant%C3%A9'),jdecode(''),'/9374/15122.html','true',[],''],
		['PAGE','15143',jdecode('March%C3%A9s'),jdecode(''),'/9374/15143.html','true',[],''],
		['PAGE','15164',jdecode('Entraide'),jdecode(''),'/9374/15164.html','true',[],''],
		['PAGE','15206',jdecode('Guide+des+%C3%A9lections+2008'),jdecode(''),'/9374/15206.html','true',[],'']
	],''],
	['PAGE','2701',jdecode('Projet+Municipal+2008'),jdecode(''),'/2701/index.html','true',[ 
		['PAGE','46101',jdecode('Brochures+publi%C3%A9es'),jdecode(''),'/2701/46101.html','true',[],''],
		['PAGE','9101',jdecode('D%C3%A9mocratie+locale'),jdecode(''),'/2701/9101.html','true',[],''],
		['PAGE','9122',jdecode('Famille+et+solidarit%C3%A9s'),jdecode(''),'/2701/9122.html','true',[],''],
		['PAGE','9164',jdecode('Jeunesse'),jdecode(''),'/2701/9164.html','true',[],''],
		['PAGE','9185',jdecode('Culture+et+tourisme'),jdecode(''),'/2701/9185.html','true',[],''],
		['PAGE','9206',jdecode('Sports+et+Loisirs'),jdecode(''),'/2701/9206.html','true',[],''],
		['PAGE','9248',jdecode('D%C3%A9veloppement+Durable'),jdecode(''),'/2701/9248.html','true',[],''],
		['PAGE','9269',jdecode('S%C3%A9curit%C3%A9'),jdecode(''),'/2701/9269.html','true',[],''],
		['PAGE','9290',jdecode('Entreprises+et+emplois'),jdecode(''),'/2701/9290.html','true',[],''],
		['PAGE','9311',jdecode('Logement+et+urbanisme'),jdecode(''),'/2701/9311.html','true',[],''],
		['PAGE','9353',jdecode('D%C3%A9placements'),jdecode(''),'/2701/9353.html','true',[],''],
		['PAGE','11101',jdecode('Finances'),jdecode(''),'/2701/11101.html','true',[],''],
		['PAGE','11122',jdecode('Relations+ext%C3%A9rieures'),jdecode(''),'/2701/11122.html','true',[],'']
	],''],
	['PAGE','4401',jdecode('Coups+de+coeur'),jdecode(''),'/4401.html','true',[],''],
	['PAGE','4422',jdecode('Coups+de+gueule'),jdecode(''),'/4422.html','true',[],''],
	['PAGE','2827',jdecode('Ecrivez-nous'),jdecode(''),'/2827.html','true',[],''],
	['PAGE','11164',jdecode('Contact'),jdecode(''),'/11164.html','true',[],''],
	['PAGE','68243',jdecode('Salle+de+Presse'),jdecode(''),'/68243.html','true',[],'']];
var siteelementCount=35;
theSitetree.topTemplateName='Activate';
theSitetree.paletteFamily='1E3A6F';
theSitetree.keyvisualId='2053';
theSitetree.keyvisualName='vorsorge.jpg';
theSitetree.fontsetId='342';
theSitetree.graphicsetId='396';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='1E3A6F';
var theTemplate={
				name: 			'Activate',
				paletteFamily: 	'1E3A6F',
				keyvisualId: 	'2053',
				keyvisualName: 	'vorsorge.jpg',
				fontsetId: 		'342',
				graphicsetId: 	'396',
				contentColor: 	'FFFFFF',
				contentBGColor: '1E3A6F',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'1E3A6F',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '301',
internalId:  '',
customField: '20100519-002105'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '301',
internalId:  '423227',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15101',
internalId:  '',
customField: '20071117-023732'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '68243',
internalId:  '',
customField: '20080401-030913'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2701',
internalId:  '',
customField: '20080117-204655'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11101',
internalId:  '',
customField: '20080116-015751'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2806',
internalId:  '',
customField: '20090621-055039'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2827',
internalId:  '',
customField: '20080401-024234'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4401',
internalId:  '',
customField: '20080116-030734'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4422',
internalId:  '',
customField: '20080224-034942'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '2827',
internalId:  '422810',
customField: 'fr:FR:'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '301',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9101',
internalId:  '',
customField: '20080118-025823'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9122',
internalId:  '',
customField: '20080115-232557'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11143',
internalId:  '',
customField: '20090621-054047'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9164',
internalId:  '',
customField: '20080115-234318'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9185',
internalId:  '',
customField: '20080115-222603'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9206',
internalId:  '',
customField: '20080115-235104'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11122',
internalId:  '',
customField: '20071112-014403'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9248',
internalId:  '',
customField: '20080115-233350'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9269',
internalId:  '',
customField: '20080116-000546'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9290',
internalId:  '',
customField: '20080116-003102'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9311',
internalId:  '',
customField: '20080116-004807'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11164',
internalId:  '',
customField: '20081005-013926'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9353',
internalId:  '',
customField: '20080115-230100'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9374',
internalId:  '',
customField: '20080116-025424'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9901',
internalId:  '',
customField: '20071117-022838'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9922',
internalId:  '',
customField: '20071115-042721'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9943',
internalId:  '',
customField: '20071117-023119'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9964',
internalId:  '',
customField: '20071117-023236'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9985',
internalId:  '',
customField: '20071117-033652'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10006',
internalId:  '',
customField: '20071117-024004'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15122',
internalId:  '',
customField: '20071117-033240'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15143',
internalId:  '',
customField: '20071117-024111'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15164',
internalId:  '',
customField: '20071117-024214'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15206',
internalId:  '',
customField: '20071117-024938'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46101',
internalId:  '',
customField: '20080224-040047'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48801',
internalId:  '',
customField: '20090101-211731'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INL7HO';
var companyName   = 'Pour+une+gestion+transparente+de+V%C3%A9lizy';
var htmlTitle	  = 'jaimevelizy.fr%2C+le+site+des+vrais+amis+de+V%C3%A9lizy-Villacoublay';
var metaKeywords  = 'v%23233%3Blizy%2C+edk%2Cvelizy%2Cedmond%2Ckameni%2Ckameni%2Celection%2C%23233%3Blections%2Cmunicipales%2Cv%23233%3Blizy-villacoublay%2Cv%23233%3Blizy%2Cvillacoublay%2Cjaime+v%23233%3Blizy%2Cje+vote+kameni%2Cmaire%2Cdivers+droite%2Cinformations+v%23233%3Bliziennes%2Cyvelines%2Ccandidat+aux+municipales%2C78%2Caime%2Cudf%2Cmodem%2Cump%2Cps%2Cvert%2Camis%2Cami';
var metaContents  = 'Jaime+v233%3Blizy%2C+le+site+des+vrais+amis+de+v233%3Blizy.';
					                                                                    
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 */					                                                            
