/* [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','701',jdecode('ACCUEIL'),jdecode(''),'/701.html','true',[],''],
	['PAGE','752',jdecode('PRESTATIONS'),jdecode(''),'/752.html','true',[],''],
	['PAGE','114801',jdecode('ETUDES%2C+DEMARCHES'),jdecode(''),'/114801.html','true',[],''],
	['PAGE','71601',jdecode('PRIX+D%26%23x27%3BUNE+MAISON'),jdecode(''),'/71601.html','true',[],''],
	['PAGE','6701',jdecode('LE+PRIX+DE+REVIENT'),jdecode(''),'/6701.html','true',[],''],
	['PAGE','48701',jdecode('PROJETS+RT2005%2F2012'),jdecode(''),'/48701.html','true',[],''],
	['PAGE','17401',jdecode('R%C3%A9alisations+int%C3%A9rieures'),jdecode(''),'/17401.html','true',[],''],
	['PAGE','36701',jdecode('PLANS...'),jdecode(''),'/36701.html','true',[],''],
	['PAGE','24601',jdecode('PLANCHER+CHAUFFANT'),jdecode(''),'/24601.html','true',[],''],
	['PAGE','33901',jdecode('CHANTIERS'),jdecode(''),'/33901.html','true',[],''],
	['PAGE','98201',jdecode('Pr%C3%A9diagnostic+Energie'),jdecode(''),'/98201.html','true',[],''],
	['PAGE','98901',jdecode('R%C3%A9novation+Energ%C3%A9tique'),jdecode(''),'/98901.html','true',[],''],
	['PAGE','105401',jdecode('Label+R%C3%A9novation'),jdecode(''),'/105401.html','true',[],''],
	['PAGE','99801',jdecode('Aides+Financi%C3%A8res'),jdecode(''),'/99801.html','true',[],''],
	['PAGE','101401',jdecode('G%C3%A9othermie+et+Solaire'),jdecode(''),'/101401.html','true',[],''],
	['PAGE','102701',jdecode('Habitat+Bioclimatique'),jdecode(''),'/102701.html','true',[],''],
	['PAGE','103401',jdecode('Habitat+PASSIF'),jdecode(''),'/103401.html','true',[],''],
	['PAGE','105422',jdecode('Biomasse+Bois+Biogaz'),jdecode(''),'/105422.html','true',[],''],
	['PAGE','109601',jdecode('Ventilation+VMC+Puit+C...'),jdecode(''),'/109601.html','true',[],''],
	['PAGE','6743',jdecode('PARTENAIRES%2FLIENS'),jdecode(''),'/6743.html','true',[],''],
	['PAGE','63101',jdecode('DOC+TECHNIQUE+'),jdecode(''),'/63101.html','true',[],''],
	['PAGE','59801',jdecode('NEWS+R%C3%A9glementations'),jdecode(''),'/59801.html','true',[],''],
	['PAGE','8501',jdecode('CONTACT'),jdecode(''),'/8501.html','true',[],''],
	['PAGE','34401',jdecode('ACCES'),jdecode(''),'/34401.html','true',[],''],
	['PAGE','6722',jdecode('++'),jdecode(''),'/6722.html','true',[],'']];
var siteelementCount=25;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='336699';
theSitetree.keyvisualId='1223';
theSitetree.keyvisualName='buero.jpg';
theSitetree.fontsetId='191';
theSitetree.graphicsetId='230';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Profile',
				paletteFamily: 	'336699',
				keyvisualId: 	'1223',
				keyvisualName: 	'buero.jpg',
				fontsetId: 		'191',
				graphicsetId: 	'230',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'336699',
				b_color: 		'336699',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '701',
internalId:  '',
customField: '20120222-212905'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '752',
internalId:  '',
customField: '20120222-172049'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6701',
internalId:  '',
customField: '20120221-192601'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6722',
internalId:  '',
customField: '20091008-194809'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6743',
internalId:  '',
customField: '20120221-194205'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '701',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8501',
internalId:  '',
customField: '20120216-215000'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '8501',
internalId:  '6043267',
customField: 'fr:FR:'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '17401',
internalId:  '124293f79df',
customField: 'g.14gkjap45.hj2kble9bds.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17401',
internalId:  '',
customField: '20120221-192742'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '24601',
internalId:  '1242a66aa3c',
customField: 'g.14gl39gbq.d8q8a15no9.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24601',
internalId:  '',
customField: '20120216-145329'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59801',
internalId:  '',
customField: '20120221-194317'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48701',
internalId:  '',
customField: '20120221-192648'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '33901',
internalId:  '124307b278a',
customField: 'g.14gntq84u.24j0tvmor8l.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '33901',
internalId:  '',
customField: '20120216-145432'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '34401',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34401',
internalId:  '',
customField: '20120216-100850'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '36701',
internalId:  '124352b7c2d',
customField: 'g.14gqikpo5.4urqooavu6e.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36701',
internalId:  '',
customField: '20120216-145243'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '63101',
internalId:  '',
customField: '20120221-194234'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '71601',
internalId:  '',
customField: '20120221-211156'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98201',
internalId:  '',
customField: '20120216-145534'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98901',
internalId:  '',
customField: '20120221-193341'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99801',
internalId:  '',
customField: '20120221-193617'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101401',
internalId:  '',
customField: '20120221-193705'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102701',
internalId:  '',
customField: '20120221-193808'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '103401',
internalId:  '',
customField: '20120221-193907'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '105401',
internalId:  '',
customField: '20120221-193510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '105422',
internalId:  '',
customField: '20120221-193957'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '109601',
internalId:  '',
customField: '20120221-194104'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114801',
internalId:  '',
customField: '20120222-205420'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZDZT';
var companyName   = 'CONSTRUIRE+AUTREMENT+AVEC+B3EB';
var htmlTitle	  = 'B3EB+Bureau+d%C3%A9tude+Ma%C3%AEtrise+doeuvre+constructeur+%C3%A0+P%C3%A9rigueux+24000+permis+de+construire+construction+de+maisons+individuelles';
var metaKeywords  = 'B3EB+Ma%C3%AEtrise+doeuvre+%C3%A0+P%C3%A9rigueux+24000%2C+bureau+d%C3%A9tude+p%C3%A9rigueux%2C+ma%C3%AEtre+doeuvre+p%C3%A9rigueux%2C+permis+de+construire%2C+construction+de+maison+individuelles%2C+Constructeur+p%C3%A9rigueux%2C+B3EB+Didier+TARDIEUX+R%C3%A9my+POUGET%2C+r%C3%A9novation+agrandissement%2C+maison+basse+consommation%2C+RT+2005%2F2012%2C+BBC+Effinergie%2C+B3EB+architecture+p%C3%A9rigueux%2C+g%C3%A9othermie%2C+a%C3%A9rothermie%2C+biomasse%2C+qualit%C3%A9%2C+co%C3%BBt%2C+d%C3%A9lai%2C+permis+de+construire%2C+maison+bois%2C+maison+traditionnelle%2C+projet+personnalis%C3%A9%2C+%C3%A9tudes+financi%C3%A8res%2C+architecture+de+qualit%C3%A9%2C+coordination+de+travaux%2C+%C3%A9tude+de+chauffage%2C+contr%C3%B4le%2C+biologie+de+lhabitat%2C+bureau+d%C3%A9tude%2C+cabinet%2C+ma%C3%AEtrise+doeuvre%2C+%C3%A9conomiste+de+la+construction+p%C3%A9rigueux%2C+construction%2C+march%C3%A9+de+travaux%2C+prescripteur%2C+%C3%A9tude+de+faisabilit%C3%A9%2C+construire+autrement%2C+concepteur+de+confiance%2C+pr%C3%A9-diagostic+%C3%A9nerg%C3%A9tique+du+b%C3%A2timent%2C+audit%2C+conseil+%C3%A9nerg%C3%A9tique%2C+bureau+d%C3%A9tude+p%C3%A9rigueux+';
var metaContents  = 'meta+name%3Ddescription+content%3D+B3EB+Bureau+d%C3%A9tude+Ma%C3%AEtrise+doeuvre%2C+Expertise+Energie+du+B%C3%A2timent%2C+bureau+d%C3%A9tude+p%C3%A9rigueux%2C+constructeur+%C3%A0+p%C3%A9rigueux%2C+B3EB+Didier+TARDIEUX+R%C3%A9my+POUGET%2C+r%C3%A9novation+agrandissement%2C+concepteurs+de+confience%2C+permis+de+construire%2C+Constructeur%2C+Nous+construisons+des+maisons+individuelles%2C+RT2005%2F2012+BBC+effinergie%2C+maison+au+meilleure+rapport+qualit%C3%A9+prix%2C+plan+personnalis%C3%A9s.%2F++meta+name%3D+keywords+content%3D+Ma%C3%AEtre+doeuvre+%C3%A0+P%C3%A9rigueux%2C+constuction+de+maison+basse+consommation%2C+Bureau+d%C3%A9tude%2C+RT2005%2F2012%2C+BBC+Effinergie%2C+g%C3%A9othermie%2C+a%C3%A9rothermie%2C+Biomasse%2C+qualit%C3%A9%2C+co%C3%BBt%2C+d%C3%A9lai%2C+permis+de+construire%2C+maison+bois%2C+maisons+traditionnelles%2C+projets+personnalis%C3%A9s%2C+%C3%A9tudes+financi%C3%A8res%2C+architecture+p%C3%A9rigueux%2C+coordination+de+travaux%2C+%C3%A9tude+de+chauffage%2C+contr%C3%B4le+biologique+de+lhabitat%2C+bureau+d%C3%A9tudes%2C+cabinet+de+ma%C3%AEtre+doeuvre%2C+%C3%A9conomiste+p%C3%A9rigueux%2C+construction%2C+march%C3%A9+de+travaux%2C+prescripteur%2C+%C3%A9tude+de+faisabilit%C3%A9%2F++meta+name%3Drobots+content%3Dindex%2C+follow%2F++meta+name%3Drevisit-after+content%3D3+months%2F++title+Ma%C3%AEtre+doeuvre+%C3%A0+P%C3%A9rigueux+24000+Dordogne+construction+de+maisons+individuelles%2Ftilte++%21-+-+ma%C3%AEtre+doeuvre+Constuction%2C+constructeur+p%C3%A9rigueux%2C+architecture%2C+.-+-cmt';
					                                                                    
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 */					                                                            

