/* [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','1101',jdecode('Accueil'),jdecode(''),'/1101.html','true',[],''],
	['PAGE','1152',jdecode('Album+photos'),jdecode(''),'/1152.html','true',[],''],
	['PAGE','172561',jdecode('Vid%C3%A9os+d%26%23x27%3BInterviews+'),jdecode(''),'/172561.html','true',[],''],
	['PAGE','172603',jdecode('Pr%C3%A9sidentielle+2012'),jdecode(''),'/172603.html','true',[],''],
	['PAGE','201861',jdecode('P%C3%A9tition+Avaaz'),jdecode(''),'/201861.html','true',[],''],
	['PAGE','216366',jdecode('Forum+et+Contact'),jdecode(''),'/216366/index.html','true',[ 
		['PAGE','216361',jdecode('Entr%C3%A9es'),jdecode(''),'/216366/216361.html','true',[],'']
	],'']];
var siteelementCount=7;
theSitetree.topTemplateName='Shadows';
theSitetree.paletteFamily='FFB573';
theSitetree.keyvisualId='1852';
theSitetree.keyvisualName='garten.jpg';
theSitetree.fontsetId='315';
theSitetree.graphicsetId='368';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFDAB9';
var theTemplate={
				name: 			'Shadows',
				paletteFamily: 	'FFB573',
				keyvisualId: 	'1852',
				keyvisualName: 	'garten.jpg',
				fontsetId: 		'315',
				graphicsetId: 	'368',
				contentColor: 	'000000',
				contentBGColor: 'FFDAB9',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFB573',
				b_color: 		'000000',
				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:  '1101',
internalId:  '',
customField: '20111116-151351'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1152',
internalId:  '',
customField: '20120112-123537'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1101',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '172603',
internalId:  '',
customField: '20110715-003503'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '172561',
internalId:  '',
customField: '20100107-115814'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '201861',
internalId:  '',
customField: '20110114-142533'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '216366',
internalId:  '216366aam010inzk7h',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '216361',
internalId:  '216366aam010inzk7h',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '216366',
internalId:  '',
customField: '20100518-081825'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '216361',
internalId:  '',
customField: '20100518-080005'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZK7H';
var companyName   = 'SOS-ABEILLES.ORG';
var htmlTitle	  = 'SOS+ABEILLES';
var metaKeywords  = 'sos%3B+abeilles%3B+sauver%3B+sos-abeilles%3B+ogm%3B+gaucho%3B+cruiser%3B+regent%3B+h%C3%A9catombe%3B+sos-abeilles.org+%3B+michel+fugain+%3B+fugain%3B+bernard+werber%3B+werber%3B+g%C3%A9rard+lenorman+%3B+lenorman%3B+etienne+daho%3B+daho%3B+jeane+manson+%3B+manson%3B+daniel+cohn-bendit%3B+cohn+bendit+%3B+c%C3%A9cile+duflot%3B+duflot%3B+dominique+voynet+%3B+voynet+%3B+maxime+le+forestier%3B+brigitte+bardot+%3B+bardot%3B+alain+lipietz+%3B+herv%C3%A9+rousseau+%3B+herv%C3%A9+%3B+rousseau+%3Bfrance+guillain+%3B+guillain%3B+de+rugy%3B+crs%3B+apiculteur%3B+apicultrice%3B+pierre+rabhi%3B+rabhi+%3B+p%C3%A8re+no%C3%ABl+%3B+no%C3%ABl+%3B+maison+du+p%C3%A8re+no%C3%ABl+%3B+nord+%3Bfranck+aletru+%3B+b%C3%A9atrice+robrolle+%3B+claude+poirot+%3B+no%C3%ABl+mamere+%3B+henri+rauwel+%3B+bernard+tapie+%3B+chantal+goya+%3Bgoya+%3B+anhiers+%3B+julien+dor%C3%A9+%3B+pierre+dr%C3%A9ossi+%3B+hubert+monnet+de+lorbeau%3B++prost%3B+the+rabeats%3B+the+beatles+%3B+jean+giraud+%3B+moebius+%3B+touillon+%3B+jean-pierre+lang+%3B+lang+%3B+st%C3%A9phane+bern+%3B+andr%C3%A9+juillard%3B+bern%3B+juillard+%3B+jean+vincent+%3B+blake+et+mortimer+%3B+jean+le+cam+%3B+le+cam+%3B+philippe+lavaud+%3B+lavaud+%3B+kito+de+pavan+%3B+albert+algoud+%3B+jean+teul%C3%A9+%3B+rosinski+%3B+fabrice+tarrin+%3B+hirata+hiroshi+%3B+bruno+bertin+%3B+manu+larcenet+%3B+herg%C3%A9+%3B+boule+et+bill+%3B+sibertin+%3B+duong%3B+jean-luc+loyer%3B+loyer+%3B+Paolo+Cossi+%3B+Tony+Sandoval+%3B+mo%2Fcdm+%3B+Dany%3B+daniel+henrotin+%3B+florence+Cestac%3B+yann+lindringue+%3B+manu+larcenet%3B+denis+robert+%3B+marianne+eskenazi+%3B+coyote+%3B+stromboli+%3B+pape+Beno%C3%AEt+XVI+%3B+georges+soubrier%3B+%C3%A9v%C3%AAque+de+nantes%3B+yannick+noah%3B+fran%C3%A7ois+barroin%3B+will+smith+%3B+dany+boon+%3B+fran%C3%A7ois+rebsamen+%3B+alexis+gruss+%3B+fran%C3%A7oise+bachelet+%3B+renaud+%3B+renaud+sechan+%3B+freddy+thielemans+%3B+didier+gustin+%3B+patrice+carmouze+%3B+didier+porte+%3B+pierre+bachelet+%3B+gervais+martel+%3B+lorand+deustch+%3B+am%C3%A9lie+mauresmo+%3B+daniel+pr%C3%A9vost+%3B+micheline+dax+%3B+alysson+paradis+%3B+paradis+%3B+franck+dubosc+%3B+dubosc+%3B+marie+dit+moisson+%3B+bono+%3B+paul+hewson+%3B+U2+%3B+michel+denisot+%3B+i+am+a+bee+%3B+bees+%3B+sylvie+testud+%3B+catherine+frot+%3B+mich%C3%A8le+morgan+%3B+line+renaud+%3B+yolande+moreau+%3B+citro%C3%ABn+traction+%3B+la+traction+%3B+citro%C3%ABn+%3B+sebastien+blanco+%3B+blanco+%3B+gers+%3B+alain+fournier+%3B+mirande+%3B+peps+%3B+william+bald%C3%A9%3B+emma+daumas+%3B+ronan+luce+%3B+abd+al+malik+%3B+sefyu+%3B+jeff+genie+%3B+gilles+verlant+%3B+annie+verlant+%3B+jean-claude+mezi%C3%A8res+%3B+frederic+vignaux+%3B+zaho+%3B+adamo+%3B+nagui+%3B+stanislas+%3B+cartouche+%3B+michel+barnier%3B+chantal+jouanno%3B+isabelle+jupp%C3%A9%3B+nathalie+kosciuko-morizet%3B+alain+jupp%C3%A9%3B+bruno+lafont%3B+g%C3%A9rard+mestrallet%3B+g%C3%A9rard+jugnot%3B+patrice+percie+du+sert%3B+albert+uderzo%3B+alain+delon%3B+michel+desjoyeaux%3B+marc+guillemot%3B+mathilde+seigner%3B+tr%C3%A9sor%3B+victorien+errusard%3B+vincent+riou%3B+arnaud+boissi%C3%A8res%3B+marc+thiercelain%3B+armel+lecl%C3%A9ach%3B+roger+carel%3B+dany+boon%3B+christophe+de+margerie%3B+g%C3%A9rard+mestrallet%3B+toatl%3B+gdf+suez%3B+lafarge%3B++carla+bruni-sarkozy%3B+sarkozy%3B+bruni%3B+michel+drucker%3B+michel+denisot%3B';
var metaContents  = 'sauvegarder+et+sauver+les+abeilles';
					                                                                    
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 */					                                                            

