/* [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','4587',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/4587.html','true',[],''],
	['PAGE','9089',jdecode('Qui+suis-je%3F'),jdecode(''),'/9089.html','true',[],''],
	['PAGE','9062',jdecode('Actualit%C3%A9s'),jdecode(''),'/9062.html','true',[],''],
	['PAGE','887001',jdecode('Ma+page'),jdecode(''),'/887001.html','true',[],''],
	['PAGE','9116',jdecode('Environnement'),jdecode(''),'/9116/index.html','true',[ 
		['PAGE','828401',jdecode('Eau'),jdecode(''),'/9116/828401.html','true',[],''],
		['PAGE','830101',jdecode('Agriculture'),jdecode(''),'/9116/830101.html','true',[],''],
		['PAGE','830122',jdecode('R%C3%A9chauffement+climatique'),jdecode(''),'/9116/830122.html','true',[],''],
		['PAGE','877501',jdecode('Conf%C3%A9rence+de+Copenhague'),jdecode(''),'/9116/877501.html','true',[],''],
		['PAGE','878301',jdecode('Le+d%C3%A9bat+sur+le+climat'),jdecode(''),'/9116/878301.html','true',[],''],
		['PAGE','271601',jdecode('Liens'),jdecode(''),'/9116/271601.html','true',[],'']
	],''],
	['PAGE','887701',jdecode('Europe+Ecologie'),jdecode(''),'/887701.html','true',[],''],
	['PAGE','9143',jdecode('Les+Verts'),jdecode(''),'/9143.html','true',[],''],
	['PAGE','9494',jdecode('A+visiter...'),jdecode(''),'/9494.html','true',[],''],
	['PAGE','9197',jdecode('Peuples+Premiers'),jdecode(''),'/9197/index.html','true',[ 
		['PAGE','791801',jdecode('Actualit%C3%A9s'),jdecode(''),'/9197/791801.html','true',[],''],
		['PAGE','269801',jdecode('GTPA'),jdecode(''),'/9197/269801.html','true',[],''],
		['PAGE','270101',jdecode('GTPD'),jdecode(''),'/9197/270101.html','true',[],''],
		['PAGE','743101',jdecode('Instance+Permanente'),jdecode(''),'/9197/743101.html','true',[],''],
		['PAGE','776801',jdecode('Historique+de+l%26%23x27%3BIP'),jdecode(''),'/9197/776801.html','true',[],''],
		['PAGE','9305',jdecode('Documents+'),jdecode(''),'/9197/9305.html','true',[],''],
		['PAGE','12701',jdecode('++++Liens'),jdecode(''),'/9197/12701.html','true',[],''],
		['PAGE','9332',jdecode('Organisations+'),jdecode(''),'/9197/9332.html','true',[],''],
		['PAGE','284801',jdecode('Publications'),jdecode(''),'/9197/284801.html','true',[],''],
		['PAGE','743590',jdecode('Leaders+Am%C3%A9rindiens'),jdecode(''),'/9197/743590.html','true',[],''],
		['PAGE','872801',jdecode('Claude+L%C3%A9vi-Strauss'),jdecode(''),'/9197/872801.html','true',[],'']
	],''],
	['PAGE','9386',jdecode('Femmes'),jdecode(''),'/9386/index.html','true',[ 
		['PAGE','785301',jdecode('Documents'),jdecode(''),'/9386/785301.html','true',[],''],
		['PAGE','260801',jdecode('Liens'),jdecode(''),'/9386/260801.html','true',[],'']
	],''],
	['PAGE','687401',jdecode('La%C3%AFcit%C3%A9'),jdecode(''),'/687401/index.html','true',[ 
		['PAGE','829101',jdecode('Appels...'),jdecode(''),'/687401/829101.html','true',[],''],
		['PAGE','687701',jdecode('LEA'),jdecode(''),'/687401/687701.html','true',[],''],
		['PAGE','687728',jdecode('Liens'),jdecode(''),'/687401/687728.html','true',[],'']
	],''],
	['PAGE','9440',jdecode('Droits+de+l%26%23x27%3BHomme'),jdecode(''),'/9440.html','true',[],''],
	['PAGE','779001',jdecode('ONU+'),jdecode(''),'/779001.html','true',[],''],
	['PAGE','831101',jdecode('OEA'),jdecode(''),'/831101.html','true',[],''],
	['PAGE','289601',jdecode('Europe'),jdecode(''),'/289601/index.html','true',[ 
		['PAGE','289628',jdecode('TCE'),jdecode(''),'/289601/289628.html','true',[],'']
	],''],
	['PAGE','9801',jdecode('Am%C3%A9riques'),jdecode(''),'/9801.html','true',[],''],
	['PAGE','254501',jdecode('Bolivie'),jdecode(''),'/254501/index.html','true',[ 
		['PAGE','841822',jdecode('Informations...'),jdecode(''),'/254501/841822.html','true',[],''],
		['PAGE','884501',jdecode('Climat'),jdecode(''),'/254501/884501.html','true',[],''],
		['PAGE','248401',jdecode('Wi%C3%B1aya'),jdecode(''),'/254501/248401.html','true',[],''],
		['PAGE','870701',jdecode('Justice+Climatique'),jdecode(''),'/254501/870701.html','true',[],''],
		['PAGE','777728',jdecode('Pukara'),jdecode(''),'/254501/777728.html','true',[],'']
	],''],
	['PAGE','259201',jdecode('Bresil'),jdecode(''),'/259201.html','true',[],''],
	['PAGE','810901',jdecode('Canada'),jdecode(''),'/810901.html','true',[],''],
	['PAGE','288728',jdecode('+Chili'),jdecode(''),'/288728/index.html','true',[ 
		['PAGE','740410',jdecode('Actualit%C3%A9s'),jdecode(''),'/288728/740410.html','true',[],''],
		['PAGE','740437',jdecode('Peuples+Autochtones'),jdecode(''),'/288728/740437.html','true',[],'']
	],''],
	['PAGE','874601',jdecode('Panama'),jdecode(''),'/874601/index.html','true',[ 
		['PAGE','885301',jdecode('Peuple+Naso'),jdecode(''),'/874601/885301.html','true',[],'']
	],''],
	['PAGE','247101',jdecode('Afrique'),jdecode(''),'/247101.html','true',[],''],
	['PAGE','769501',jdecode('Promotion+RP+Alberto+G-1968'),jdecode(''),'/769501.html','true',[],''],
	['PAGE','786501',jdecode('Coin+Art...'),jdecode(''),'/786501.html','true',[],''],
	['PAGE','10502',jdecode('Photos'),jdecode(''),'/10502.html','true',[],''],
	['PAGE','795902',jdecode('Kahnawake'),jdecode(''),'/795902.html','true',[],'']];
var siteelementCount=57;
theSitetree.topTemplateName='Surround';
theSitetree.paletteFamily='5944D9';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10514';
theSitetree.graphicsetId='11135';
theSitetree.contentColor='DDDDDD';
theSitetree.contentBGColor='5764B2';
var theTemplate={
				name: 			'Surround',
				paletteFamily: 	'5944D9',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10514',
				graphicsetId: 	'11135',
				contentColor: 	'DDDDDD',
				contentBGColor: '5764B2',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'8386EC',
				e_color: 		'8386EC',
				f_color: 		'8386EC',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4587',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '874601',
internalId:  '',
customField: '20100611-152806'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '10502',
internalId:  '10115cd8c8f',
customField: 'Wara'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4587',
internalId:  '3518848',
customField: '1501'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '795902',
internalId:  '113ecdea665',
customField: 'kahnawake'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4587',
internalId:  '',
customField: '20100204-212215'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9062',
internalId:  '',
customField: '20100705-185944'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9089',
internalId:  '',
customField: '20090905-003741'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9116',
internalId:  '',
customField: '20091215-104742'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '271601',
internalId:  '',
customField: '20080313-184946'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9143',
internalId:  '',
customField: '20080927-023922'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9197',
internalId:  '',
customField: '20070216-033238'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '791801',
internalId:  '',
customField: '20091106-230405'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '269801',
internalId:  '',
customField: '20050404-003101'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '270101',
internalId:  '',
customField: '20050131-162405'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '743101',
internalId:  '',
customField: '20080425-182535'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '776801',
internalId:  '',
customField: '20080425-181433'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9305',
internalId:  '',
customField: '20050201-011219'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12701',
internalId:  '',
customField: '20050302-173743'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9332',
internalId:  '',
customField: '20070602-032827'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '284801',
internalId:  '',
customField: '20050223-085410'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '743590',
internalId:  '',
customField: '20060119-011143'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9386',
internalId:  '',
customField: '20080312-154721'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '785301',
internalId:  '',
customField: '20070331-005656'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '260801',
internalId:  '',
customField: '20050304-021803'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '687401',
internalId:  '',
customField: '20050420-031908'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '687701',
internalId:  '',
customField: '20051227-073043'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '687728',
internalId:  '',
customField: '20051213-002616'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9440',
internalId:  '',
customField: '20051230-133246'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '779001',
internalId:  '',
customField: '20090729-102641'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '289601',
internalId:  '',
customField: '20051230-133505'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '289628',
internalId:  '',
customField: '20050214-182853'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9801',
internalId:  '',
customField: '20051229-164928'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '777728',
internalId:  '',
customField: '20080226-012956'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '254501',
internalId:  '',
customField: '20091015-165812'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '248401',
internalId:  '',
customField: '20070109-232802'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '259201',
internalId:  '',
customField: '20051230-134142'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '288728',
internalId:  '',
customField: '20080213-040048'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '740410',
internalId:  '',
customField: '20060204-000621'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '740437',
internalId:  '',
customField: '20060104-013629'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '247101',
internalId:  '',
customField: '20051230-134357'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '769501',
internalId:  '',
customField: '20090730-121715'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9494',
internalId:  '',
customField: '20100204-214028'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '786501',
internalId:  '',
customField: '20090729-164820'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '870701',
internalId:  '',
customField: '20091015-171524'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '872801',
internalId:  '',
customField: '20091106-232009'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10502',
internalId:  '',
customField: '20041229-164722'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '795902',
internalId:  '',
customField: '20070725-010124'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '810901',
internalId:  '',
customField: '20080528-013911'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '830122',
internalId:  '',
customField: '20091215-104908'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '829101',
internalId:  '',
customField: '20080312-171156'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '828401',
internalId:  '',
customField: '20080313-185954'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '830101',
internalId:  '',
customField: '20080313-190035'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '831101',
internalId:  '',
customField: '20080312-175304'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '841822',
internalId:  '',
customField: '20080630-011217'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '877501',
internalId:  '',
customField: '20091215-114643'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '878301',
internalId:  '',
customField: '20091218-151322'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '884501',
internalId:  '',
customField: '20100611-125728'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '885301',
internalId:  '',
customField: '20100611-153034'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '887001',
internalId:  '',
customField: '20100628-031239'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '887701',
internalId:  '',
customField: '20100705-181351'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INET1G';
var companyName   = 'Maria+Portugal';
var htmlTitle	  = 'Maria+Portugal';
var metaKeywords  = 'Peuples+autochtones%2C+femmes%2C+droits%2Cpeuples+premiers%2Cmaria+portugal%2C+ecologie%2Cameriques%2C+bolivie%2Cagriculture+biologique%2Cbiodiversite%2Cbresil%2C+foag%2Cindian+law%2Cpeuples+autochtones%2C+peuples+indigenes%2Cmetis%2Ccolombie%3Bles+verts%3B+peuples+premiers%2CPeriodico+Pukara%2C+Winaya%2CGrenelle+de+lenvironnement';
var metaContents  = 'groupe+de+travail+sur+les+peuples+autochtones%2C+projet+de+declaration+des+Nations+Unies+sur+les+Droits+des+peuples+autochtones%2C+ecologie%2Cameriques%2Cguyane%3B+FOAG%2C+Enlace+continental+de+mujeres%2Ccharte+de+lenvironnement%3BPukara%2Cles+verts%2Cfemme%2C+autochtones%2Claicite%2CAmeriques%2C+Bresil%3BBolivie%3BChili%3BColombie%3BLe+peuple+rouge%3BLe+Grenelle+de+lenvironnement%3Bsortir+des+pesticides%3B';
					                                                                    
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 */					                                                            
