/* [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','1508',jdecode('ACCUEIL'),jdecode(''),'/1508.html','true',[],''],
	['PAGE','1826',jdecode('NOS+DOMAINES'),jdecode(''),'/1826.html','true',[],''],
	['PAGE','1772',jdecode('AUDIT'),jdecode(''),'/1772.html','true',[],''],
	['PAGE','1799',jdecode('RECRUTEMENT'),jdecode(''),'/1799.html','true',[],''],
	['PAGE','1853',jdecode('ACCOMPAGNEMENT'),jdecode(''),'/1853.html','true',[],''],
	['PAGE','82103',jdecode('OFFRES+D%26%23x27%3BEMPLOI'),jdecode(''),'/82103.html','true',[],''],
	['PAGE','1907',jdecode('CONTACT'),jdecode(''),'/1907.html','true',[],'']];
var siteelementCount=7;
theSitetree.topTemplateName='Steps';
theSitetree.paletteFamily='315881';
theSitetree.keyvisualId='2287';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='368';
theSitetree.graphicsetId='419';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='315881';
var theTemplate={
				name: 			'Steps',
				paletteFamily: 	'315881',
				keyvisualId: 	'2287',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'368',
				graphicsetId: 	'419',
				contentColor: 	'FFFFFF',
				contentBGColor: '315881',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'315881',
				b_color: 		'2985B5',
				c_color: 		'3366CC',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1508',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1508',
internalId:  '',
customField: '20090128-144421'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1907',
internalId:  '',
customField: '20090703-140532'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82103',
internalId:  '',
customField: '20100721-163931'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1826',
internalId:  '',
customField: '20080602-121154'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1772',
internalId:  '',
customField: '20070510-121051'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1799',
internalId:  '',
customField: '20070510-121135'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1853',
internalId:  '',
customField: '20090406-090105'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLKBS';
var companyName   = 'RECRUTEMENTAGRO.fr%2FAGRI.fr%2FHORTI.fr';
var htmlTitle	  = 'RECRUTEMENTAGRO';
var metaKeywords  = 'offre+demploi%2C+recrutementagro%2C+recrutementagri%2Crecrutement+agro%2C+recrutement+agri%2C+recrutement+agroalimentaire%2C+recrutement+agricole%2C+cabinet+de+recrutement+agroalimentaire%2C+cabinet+de+recrutement+agricole%2C+emploi+agroalimentaire%2C+emploi+agricole%2C+recrutement+agro-alimentaire%2C+conseil+agricole%2C+conseil+agroalimentaire%2C+recrutement+agro%2C+recrutement+agri%2C+recherche%2C+production%2C+commercial%2C+audit%2C+comp%EF%BF%BDtences%2C+annonce%2C+approche+directe%2C+horticole%2C+agriculture%2C+ad%EF%BF%BDquation+et+performances%2C+sp%EF%BF%BDcialiste+fili%EF%BF%BDres+agricoles+et+agroalimentaires%2C+plats+cuisin%EF%BF%BDs%2C+traiteur%2C+fruits+et+l%EF%BF%BDgumes%2C+productions+animales%2C+productions+v%EF%BF%BDg%EF%BF%BDtales%2C+jardinerie%2C+emballages%2C+vins%2C+produits+laitiers%2C+lait%2C+produits+carn%EF%BF%BDs%2C+viande%2C+porc%2C+veau%2C+boeuf%2C+machinisme+agricole%2C+atouts%2C+volaille%2C+sandwichs%2C+salades%2C+glaces%2C+fonctions%2C+cadres%2C+chef+de+secteur%2C+postes%2C+profils%2Cs%EF%BF%BDlection%2C+entretiens%2C+choix%2C+ing%EF%BF%BDnieur+agronome%2C+cabinet+de+recrutement+pays+de+loire%2C+cabinet+de+recrutement+loire+atlantique%2C+cabinet+de+recrutement+bretagne%2C+cabinet+de+recrutement+ouest%2C+offres+demploi+agroalimentaires%2C+offres+demploi+agricole%2C+Technico-commercial+agrofournitures%2C+technico-commercial+semences%2C+technico-commercial+batiment';
var metaContents  = 'Ad%C3%A9quation++Performances%2C+sp%C3%A9cialiste+des+recrutements+dans+les+secteurs+agroalimentaires+et+agricoles';
					                                                                    
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 */					                                                            
